class Telegram::API::BotCommandScopeDefault

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.cr

Constructors

Instance Method Summary

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.


[View source]
def self.new(type : String) #

[View source]

Instance Method Detail

def type : String #

Scope type, must be default


[View source]
def type=(type : String) #

Scope type, must be default


[View source]