My commands
You can set/delete/get my bot commands
Set my commands
To set my commands, use MyCommands class-method or .setMyCommands
answer/api method
MyCommands class-method take arguments:
Argument
Description
Required
1
Required
2
Optional
3
Language code
Optional
Delete my commands
To delete my commands, use DeleteMyCommands class-method or .deleteMyCommands
answer/api method
DeleteMyCommands class-method or .deleteMyCommands answer method take arguments:
Argument
Description
Required
1
Optional
2
Language code
Optional
Get my commands
To get my commands, use .getMyCommands
answer/api method
.getMyCommands answer method take arguments:
Argument
Description
Required
1
Optional
2
Language code
Optional
Example
app.controller.ts
Last updated