Telegram Bot API

Use this method to change the bot's description, which is shown in the chat with the bot if the chat is empty. Returns True on success.

post/setMyDescription

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/setMyDescription
  • Auth: none declared

Request body

descriptionstring

New bot description; 0-512 characters. Pass an empty string to remove the dedicated description for the given language.

language_codestring

A two-letter ISO 639-1 language code. If empty, the description will be applied to all users for whose language there is no dedicated description.

Response

Telegram API response

oktrue required
resulttrue required

Changes

No recorded changes to this operation across all 3 revisions of this API.