peyk.platforms.telegram.methods.set_my_description

async peyk.platforms.telegram.methods.set_my_description(self, *, description: str | None = None, language_code: str | None = None) bool

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.

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

  • language_code – 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.

Returns:

Result returned by Telegram on successful execution.

Return type:

bool