Skip to content

BotCommand

Type · TDLib 1.8.67 · d1085f9c

Represents a command supported by a bot

BotCommand(
  command: string,
  description: string,
  is_ephemeral: Bool
) → BotCommand

command

string

Text of the bot command

description

string

Description of the bot command

is_ephemeral

Bool

True, if the command must send an ephemeral message instead of a regular one