class Tourmaline::BotCommandScopeChatMember
- Tourmaline::BotCommandScopeChatMember
- Reference
- Object
Overview
Represents the scope of bot commands, covering a specific member of a group or supergroup chat.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(type : String, chat_id : Int32 | Int64 | String, user_id : Int32 | Int64)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#chat_id : Int32 | Int64 | String
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
-
#chat_id=(chat_id : Int32 | Int64 | String)
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
-
#type : String
Scope type, must be chat_member
-
#type=(type : String)
Scope type, must be chat_member
-
#user_id : Int32 | Int64
Unique identifier of the target user
-
#user_id=(user_id : Int32 | Int64)
Unique identifier of the target user
Constructor Detail
def self.new(type : String, chat_id : Int32 | Int64 | String, user_id : Int32 | Int64)
#
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)
def chat_id=(chat_id : Int32 | Int64 | String)
#
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)