class Tourmaline::BotCommandScopeChat

Overview

Represents the scope of bot commands, covering a specific 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


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

Scope type, must be chat


[View source]