ChatJoinRequest

data class ChatJoinRequest(val chat: Chat, val from: User, val userChatId: Long, val date: Int, val bio: String? = null, val inviteLink: ChatInviteLink? = null)(source)

ChatJoinRequest

Represents a join request sent to a chat.

(auto-generated)

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(chat: Chat, from: User, userChatId: Long, date: Int, bio: String? = null, inviteLink: ChatInviteLink? = null)

Properties

Link copied to clipboard
val bio: String? = null

Optional. Bio of the user.

Link copied to clipboard
val chat: Chat

Chat to which the request was sent

Link copied to clipboard
val date: Int

Date the request was sent in Unix time

Link copied to clipboard
val from: User

User that sent the join request

Link copied to clipboard
@SerialName(value = "invite_link")
val inviteLink: ChatInviteLink? = null

Optional. Chat invite link that was used by the user to send the join request

Link copied to clipboard
@SerialName(value = "user_chat_id")
val userChatId: Long

Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user.