aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/AttachMenuManager.h
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2022-10-27 12:36:17 +0300
committerlevlam <levlam@telegram.org>2022-10-27 12:36:17 +0300
commitda1b385185cb24856854b4e2d1ad53ba8fe0554b (patch)
treef3175fbcb80302f553044a054d37422a5decf6af /td/telegram/AttachMenuManager.h
parente33dac507d7886a30e0ae5afc8ec7b9704015140 (diff)
Add openWebApp.message_thread_id.
Diffstat (limited to 'td/telegram/AttachMenuManager.h')
-rw-r--r--td/telegram/AttachMenuManager.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/td/telegram/AttachMenuManager.h b/td/telegram/AttachMenuManager.h
index 3110aaaa6..197dfbae8 100644
--- a/td/telegram/AttachMenuManager.h
+++ b/td/telegram/AttachMenuManager.h
@@ -32,12 +32,13 @@ class AttachMenuManager final : public Actor {
void init();
- void request_web_view(DialogId dialog_id, UserId bot_user_id, MessageId reply_to_message_id, string &&url,
+ void request_web_view(DialogId dialog_id, UserId bot_user_id, MessageId top_thread_message_id,
+ MessageId reply_to_message_id, string &&url,
td_api::object_ptr<td_api::themeParameters> &&theme, string &&platform,
Promise<td_api::object_ptr<td_api::webAppInfo>> &&promise);
- void open_web_view(int64 query_id, DialogId dialog_id, UserId bot_user_id, MessageId reply_to_message_id,
- DialogId as_dialog_id);
+ void open_web_view(int64 query_id, DialogId dialog_id, UserId bot_user_id, MessageId top_thread_message_id,
+ MessageId reply_to_message_id, DialogId as_dialog_id);
void close_web_view(int64 query_id, Promise<Unit> &&promise);
@@ -154,6 +155,7 @@ class AttachMenuManager final : public Actor {
struct OpenedWebView {
DialogId dialog_id_;
UserId bot_user_id_;
+ MessageId top_thread_message_id_;
MessageId reply_to_message_id_;
DialogId as_dialog_id_;
};