diff options
| author | levlam <levlam@telegram.org> | 2022-12-15 14:21:22 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2022-12-15 14:21:22 +0300 |
| commit | 743ba7cc284e0dd0c3bebca4b7d00bbf7efb5c24 (patch) | |
| tree | de19ca7541f1b23435d2609610a00baea93e1b2f /td/telegram/AttachMenuManager.h | |
| parent | cc522630261ed9fb685448ecb61a2c5b4467db70 (diff) | |
Add toggleBotIsAddedToAttachmentMenu.allow_write_access.
Diffstat (limited to 'td/telegram/AttachMenuManager.h')
| -rw-r--r-- | td/telegram/AttachMenuManager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/td/telegram/AttachMenuManager.h b/td/telegram/AttachMenuManager.h index 197dfbae8..12c9d82ce 100644 --- a/td/telegram/AttachMenuManager.h +++ b/td/telegram/AttachMenuManager.h @@ -50,7 +50,8 @@ class AttachMenuManager final : public Actor { FileSourceId get_attach_menu_bot_file_source_id(UserId user_id); - void toggle_bot_is_added_to_attach_menu(UserId user_id, bool is_added, Promise<Unit> &&promise); + void toggle_bot_is_added_to_attach_menu(UserId user_id, bool is_added, bool allow_write_access, + Promise<Unit> &&promise); void get_current_state(vector<td_api::object_ptr<td_api::Update>> &updates) const; |
