Bot

Replace bot commands

Changed on

Replaces the authenticated bot's complete command list. Commands appear to users in sort_order; send an empty array to clear the list.

post/bot/setMyCommands

Request

  • Base URL
    https://api.inline.chat
  • Auth
    none required

Headers

authorizationstring required

Required bot token using the Bearer scheme.

Request body

Response

Successful response for an action with no return value.

oktrue required

Always true for a successful request.

resultobject required

Method-specific response payload.

Example response

{
  "ok": true,
  "result": {}
}

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status