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#10cf3123 flags:# bot:flags.2?InputUser lang_code:string name:flags.3?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