Bot API · Bot token

getMyCommands

Get the bot's command list

Returns the bot's command list as set by setMyCommands.

Request

curl https://api.sprintelex.com/getMyCommands \
  -H "Authorization: Bearer <bot-token>"

Response

{ ok: true, result: { commands: [{ command, description }] } }

Rate limit: none in code