messages.toggleBotInAttachMenu
Enable or disable web bot attachment menu »
Enable or disable [web bot attachment menu »](https://core.telegram.org/api/bots/attach.md)
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
write_allowed | true | Nein | 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 | Ja | Bot-ID |
enabled | Bool | Ja | Toggle |
Antworten
Bool
MTProto RPC
- 400 · BOT_INVALID – Dies ist kein gültiger Bot.