Skip to content

Interface: BotCommand

Properties

app_id

app_id: string

打开的小程序 app id。

Defined in

src/typings/user.ts:125


clickable

clickable: string

点击发出的命令蓝字是否可以再次发出。

Defined in

src/typings/user.ts:123


command

command: string

命令标题(1~32 字符,仅包含小写英文字母、数字和下划线)。

Defined in

src/typings/user.ts:113


description

description: string

命令描述(3~256 字符)。

Defined in

src/typings/user.ts:115


form_parameters

form_parameters: BotCommandParameter[]

表单参数。

Defined in

src/typings/user.ts:119


hide

hide: string

发出的消息是否仅触发命令的用户可见。

Defined in

src/typings/user.ts:121


url

url: string

打开的链接。

Defined in

src/typings/user.ts:127


visible_level

visible_level: BotCommandVisibleLevel

可见级别。

Defined in

src/typings/user.ts:117

Released under the MIT License.