Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>BotCommand_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class BotCommand_
extends _BotCommand_
import { BotCommand_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Describes a bot command that can be used in a chat

Constructors

new
BotCommand_(params: { command: string; description: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
command: string

/command name

description: string

Description of the command

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc