class Tourmaline::BotCommandScopeChatMember

Overview

Represents the scope of bot commands, covering a specific member of a 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, user_id : Int32 | Int64) #

[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_member


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

Scope type, must be chat_member


[View source]
def user_id : Int32 | Int64 #

Unique identifier of the target user


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

Unique identifier of the target user


[View source]