class Telegram::API::BotCommandScopeDefault
- Telegram::API::BotCommandScopeDefault
- Telegram::API::Type
- Reference
- Object
Overview
Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.
Defined in:
telegram/api/generated/types.crConstructors
-
.new(pull : JSON::PullParser)
Represents the default scope of bot commands.
- .new(type : String)
Instance Method Summary
-
#type : String
Scope type, must be default
-
#type=(type : String)
Scope type, must be default
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
def self.new(pull : JSON::PullParser)
#
Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.