class
Tourmaline::BotCommandScopeChatAdministrators
- Tourmaline::BotCommandScopeChatAdministrators
- Reference
- Object
Overview
Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
Instance Method Summary
-
#chat_id : Int32 | Int64 | String
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername).
-
#chat_id=(chat_id : Int32 | Int64 | String)
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername).
-
#type : String
Scope type, must be chat_administrators
-
#type=(type : String)
Scope type, must be chat_administrators
Constructor Detail
Instance Method Detail
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername). Channel direct messages chats and channel chats aren't supported.
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername). Channel direct messages chats and channel chats aren't supported.