class

Tourmaline::ChatJoinRequest

Inherits JSON::Serializable / Reference / Object

Represents a join request sent to a chat.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

bio

Optional. Bio of the user.

Source
bio=(bio : String | Nil)

Optional. Bio of the user.

Source
chat

Chat to which the request was sent

Source
chat=(chat : Tourmaline::Chat)

Chat to which the request was sent

Source
date

Date the request was sent in Unix time

Source
date=(date : Time)

Date the request was sent in Unix time

Source
from

User that sent the join request

Source
from=(from : Tourmaline::User)

User that sent the join request

Source
user_chat_id

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 24 hours to send messages until the join request is processed, assuming no other administrator contacted the user.

Source
user_chat_id=(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 24 hours to send messages until the join request is processed, assuming no other administrator contacted the user.

Source