diff options
| author | levlam <levlam@telegram.org> | 2022-12-15 14:25:45 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2022-12-15 14:25:45 +0300 |
| commit | c30756f450d43ece83d04e7a37ab6d02ffb2da2f (patch) | |
| tree | 707304a0843e9be935007091926e171866aff087 /td/telegram/AttachMenuManager.h | |
| parent | 743ba7cc284e0dd0c3bebca4b7d00bbf7efb5c24 (diff) | |
Add AttachmentMenuBot.request_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 12c9d82ce..8019991ee 100644 --- a/td/telegram/AttachMenuManager.h +++ b/td/telegram/AttachMenuManager.h @@ -88,6 +88,7 @@ class AttachMenuManager final : public Actor { bool supports_group_dialogs_ = false; bool supports_broadcast_dialogs_ = false; bool supports_settings_ = false; + bool request_write_access_ = false; string name_; AttachMenuBotColor name_color_; FileId default_icon_file_id_; @@ -98,7 +99,7 @@ class AttachMenuManager final : public Actor { AttachMenuBotColor icon_color_; FileId placeholder_file_id_; - static constexpr uint32 CACHE_VERSION = 1; + static constexpr uint32 CACHE_VERSION = 2; uint32 cache_version_ = 0; template <class StorerT> |
