class Tourmaline::ChatJoinRequest
inherits Reference
#
Represents a join request sent to a chat.
Included modules
JSON::Serializable
Constructors#
.new(chat, from, user_chat_id, date, bio : String? = nil, invite_link : Tourmaline::ChatInviteLink? = nil)
#
(chat, from, user_chat_id, date, bio : String? = nil, invite_link : Tourmaline::ChatInviteLink? = nil)
Methods#
#invite_link : Tourmaline::ChatInviteLink?
#
: Tourmaline::ChatInviteLink?
Optional. Chat invite link that was used by the user to send the join request
#invite_link=(invite_link : Tourmaline::ChatInviteLink?)
#
(invite_link : Tourmaline::ChatInviteLink?)
Optional. Chat invite link that was used by the user to send the join request
#user_chat_id : Int32 | Int64
#
: Int32 | Int64
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.
#user_chat_id=(user_chat_id : Int32 | Int64)
#
(user_chat_id : Int32 | Int64)
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.