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 | أيوه | معرف البوت |
enabled | Bool | أيوه | Toggle |
الردود
Bool
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.