class Telegram::API::BotCommandScopeAllChatAdministrators

Overview

Represents the scope of bot commands, covering all group and supergroup chat administrators.

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 group and supergroup chat administrators.


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

[View source]

Instance Method Detail

def type : String #

Scope type, must be all_chat_administrators


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

Scope type, must be all_chat_administrators


[View source]