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:
Required
Optional
Language code
Optional
If you want to know what arguments an API method takes, see the IDE hint
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:
Optional
Language code
Optional
If you want to know what arguments an API method takes, see the IDE hint
Get my commands
To get my commands, use .getMyCommands
answer/api method
.getMyCommands answer method take arguments:
Optional
Language code
Optional
Returns array of IBotCommand on success
If you want to know what arguments an API method takes, see the IDE hint
Example
Last updated