class Tourmaline::BotCommandScopeChatAdministrators

Overview

Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, chat_id : Int32 | Int64 | String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def chat_id : Int32 | Int64 | String #

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)


[View source]
def chat_id=(chat_id : Int32 | Int64 | String) #

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)


[View source]
def type : String #

Scope type, must be chat_administrators


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

Scope type, must be chat_administrators


[View source]