class
Hamilton::Types::BotCommandScopeChatAdministrators
- Hamilton::Types::BotCommandScopeChatAdministrators
- Reference
- Object
Overview
Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/bot_command_scope.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#chat_id : String | Int32
Unique identifier for the target chat or username of the target supergroup (in the format
@supergroupusername). -
#chat_id=(chat_id : String | Int32)
Unique identifier for the target chat or username of the target supergroup (in the format
@supergroupusername). -
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#type : String
Scope type, must be "chat_administrators".
-
#type=(type : String)
Scope type, must be "chat_administrators".
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
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.