aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/AttachMenuManager.h
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-02-24 15:08:16 +0300
committerlevlam <levlam@telegram.org>2023-02-24 15:08:16 +0300
commite7da8e88e0717236972f4a1d5efd496e974975f5 (patch)
tree04cfc54e1916df54b677b133831231faf4c8af28 /td/telegram/AttachMenuManager.h
parentc8ebe2aabea763eb63aadf27b3ec0ec059dfb4c4 (diff)
Add td_api::getWebAppLinkUrl.
Diffstat (limited to 'td/telegram/AttachMenuManager.h')
-rw-r--r--td/telegram/AttachMenuManager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/td/telegram/AttachMenuManager.h b/td/telegram/AttachMenuManager.h
index 8ebc44f18..b298e48cd 100644
--- a/td/telegram/AttachMenuManager.h
+++ b/td/telegram/AttachMenuManager.h
@@ -35,6 +35,10 @@ class AttachMenuManager final : public Actor {
void get_web_app(UserId bot_user_id, string &&web_app_short_name,
Promise<td_api::object_ptr<td_api::foundWebApp>> &&promise);
+ void request_app_web_view(DialogId dialog_id, UserId bot_user_id, string &&web_app_short_name,
+ string &&start_parameter, const td_api::object_ptr<td_api::themeParameters> &theme,
+ string &&platform, bool allow_write_access, Promise<string> &&promise);
+
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,