telegramx.js

BotCommandScopeChatMember

interface

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

Declaration

interface BotCommandScopeChatMember 

Properties

chat_idproperty#
chat_id: number | string;

Unique identifier for the target chat or username of the target supergroup in the format username. Channel direct messages chats and channel chats aren't supported.

typeproperty#
type: 'chat_member';

Scope type, must be chat_member

user_idproperty#
user_id: number;

Unique identifier of the target user