ToggleBotIsAddedToAttachmentMenu constructor

ToggleBotIsAddedToAttachmentMenu(
  1. {required int bot_user_id,
  2. required bool is_added,
  3. required bool allow_write_access,
  4. int? extra,
  5. int? clientId}
)

Adds or removes a bot to attachment and side menu. Bot can be added to the menu, only if userTypeBot.can_be_added_to_attachment_menu == true

Returns Ok

Implementation

ToggleBotIsAddedToAttachmentMenu