messages.toggleBotInAttachMenu
Enable or disable web bot attachment menu »
Enable or disable [web bot attachment menu »](https://core.telegram.org/api/bots/attach.md)
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
write_allowed | true | いいえ | Whether the user authorizes the bot to write messages to them, if requested by [attachMenuBot](https://core.telegram.org/constructor/attachMenuBot.md).`request_write_access` |
bot | InputUser | はい | ボットID |
enabled | Bool | はい | Toggle |
レスポンス
Bool
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.