BotCommandScopeChatMember

@SerialName(value = "chat_member")
data class BotCommandScopeChatMember(val chatId: ChatId, val userId: Int) : BotCommandScope(source)

BotCommandScopeChatMember

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

(auto-generated)

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(chatId: ChatId, userId: Int)

Properties

Link copied to clipboard
@SerialName(value = "chat_id")
val chatId: ChatId

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

Link copied to clipboard
@SerialName(value = "user_id")
val userId: Int

Unique identifier of the target user