Module

x/grammy_types/settings.ts>BotCommandScopeChatMember

Type declarations of the Telegram Bot API.
Latest
interface BotCommandScopeChatMember
import { type BotCommandScopeChatMember } from "https://dotland.deno.dev/x/grammy_types@v3.15.0/settings.ts";

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

Properties

type: "chat_member"

Scope type, must be chat_member

chat_id: number | string

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

user_id: number

Unique identifier of the target user