class Telegram::API::BotCommandScopeAllPrivateChats

Overview

Represents the scope of bot commands, covering all private chats.

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 scope of bot commands, covering all private chats.


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

[View source]

Instance Method Detail

def type : String #

Scope type, must be all_private_chats


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

Scope type, must be all_private_chats


[View source]