class Telegram::API::BotCommandScopeChatAdministrators
Overview
Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
Defined in:
telegram/api/generated/types.crConstructors
- .new(type : String, chat_id : Int64 | String)
-
.new(pull : JSON::PullParser)
Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
Instance Method Summary
-
#chat_id : Int64 | String
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
-
#chat_id=(chat_id : 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
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
Instance Method Detail
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)