Interface BotCommandScopeChatMember

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

interface BotCommandScopeChatMember {
    chatId: string | number;
    type: "chat_member";
    userId: number;
}

Properties

Properties

chatId: string | number

The unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername).

type: "chat_member"

The scope type, must be "chat_member".

userId: number

The unique identifier of the target user.