bots.setBotInfo
Set localized name, about text and description of a bot (or of the current account, if called by a bot).
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
bot | InputUser | いいえ | If called by a user, **must** contain the peer of a bot we own. |
lang_code | string | はい | Language code, if left empty update the fallback about text and description |
name | string | いいえ | New bot name |
about | string | いいえ | New about text |
description | string | いいえ | New description |
レスポンス
Bool
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.
- 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.