Interface BotCommandScopeChatMember

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

interface BotCommandScopeChatMember {
    chat_id: string | number;
    type: "chat_member";
    user_id: number;
}

Properties

Properties

chat_id: string | number

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

type: "chat_member"

Scope type, must be chat_member

user_id: number

Unique identifier of the target user