class

Tourmaline::BotCommandScopeChatAdministrators

Inherits JSON::Serializable / Reference / Object

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

Constructors

new(type : String, chat_id : Int32 | Int64 | String)
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_administrators

Source
type=(type : String)

Scope type, must be chat_administrators

Source