struct

Telegram::BotCommandScope

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: BotCommandScope This object represents the scope to which bot commands are applied. Currently, the following 7 scopes are supported:

  • BotCommandScopeDefault
  • BotCommandScopeAllPrivateChats
  • BotCommandScopeAllGroupChats
  • BotCommandScopeAllChatAdministrators
  • BotCommandScopeChat
  • BotCommandScopeChatAdministrators
  • BotCommandScopeChatMember

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with
Source