Set localized name, about text and description of a bot (or of the current account, if called by a bot).
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
bots.setBotInfo#a365df7a flags:# lang_code:string about:flags.0?string description:flags.1?string = Bool;
Parameters
Result
Bool
Possible errors
Code |
Type |
Description |
400 |
USER_BOT_INVALID |
User accounts must provide the bot method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts. |
Bots can use this method