class

Tourmaline::BotCommandScopeChatMember

Inherits JSON::Serializable / Reference / Object

Represents the scope of bot commands, covering a specific member of a group or supergroup chat.

Constructors

new(type : String, chat_id : Int32 | Int64 | String, user_id : Int32 | Int64)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

chat_id

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)

Source
chat_id=(chat_id : Int32 | Int64 | String)

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)

Source
type

Scope type, must be chat_member

Source
type=(type : String)

Scope type, must be chat_member

Source
user_id

Unique identifier of the target user

Source
user_id=(user_id : Int32 | Int64)

Unique identifier of the target user

Source