BotCommandScopeChatMember

data class BotCommandScopeChatMember(type: String, chat_id: String, user_id: Long) : BotCommandScope

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

Constructors

BotCommandScopeChatMember
Link copied to clipboard
fun BotCommandScopeChatMember(type: String, chat_id: String, user_id: Long)

Properties

chat_id
Link copied to clipboard
val chat_id: String
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
type
Link copied to clipboard
val type: String
Scope type, must be chat_member
user_id
Link copied to clipboard
val user_id: Long
Unique identifier of the target user