bots.setBotInfo
Set localized name, about text and description of a bot (or of the current account, if called by a bot).
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
bot | InputUser | Nein | If called by a user, **must** contain the peer of a bot we own. |
lang_code | string | Ja | Language code, if left empty update the fallback about text and description |
name | string | Nein | New bot name |
about | string | Nein | New about text |
description | string | Nein | New description |
Antworten
Bool
MTProto RPC
- 400 · BOT_INVALID – Dies ist kein gültiger Bot.
- 400 · USER_BOT_INVALID – Benutzerkonten müssen beim Aufruf dieser Methode den Methodenparameter bot bereitstellen. Wenn kein solcher Methodenparameter vorhanden ist, kann diese Methode nur von Bot-Konten aufgerufen werden.