aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/generate
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2026-06-26 16:49:11 +0300
committerlevlam <levlam@telegram.org>2026-06-26 16:49:11 +0300
commita97a6c640950a526d907bd507d614664e20e2320 (patch)
tree24d86d6a4ed5dcef1458c42a5cc6b82450d2399d /td/generate
parent825a1532db8475eef086f0d6773e7a35dd976b2f (diff)
Add td_api::getGuardBotWebAppUrl.
Diffstat (limited to 'td/generate')
-rw-r--r--td/generate/scheme/td_api.tl10
1 files changed, 7 insertions, 3 deletions
diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl
index 6bb416c9e..347627798 100644
--- a/td/generate/scheme/td_api.tl
+++ b/td/generate/scheme/td_api.tl
@@ -2525,9 +2525,8 @@ chatJoinResultRequestSent = ChatJoinResult;
//@description An approval from a guard bot through a Web App is required to join the chat
//@bot_user_id Identifier of the guard bot
-//@url The URL of the Web App to open
-//@query_id Unique identifier of the join request, which will be used in updateChatJoinResult
-chatJoinResultGuardBotApprovalRequired bot_user_id:int53 url:webAppUrl query_id:int53 = ChatJoinResult;
+//@query_id Unique identifier of the join request, which will be used in getGuardBotWebAppUrl and updateChatJoinResult
+chatJoinResultGuardBotApprovalRequired bot_user_id:int53 query_id:int64 = ChatJoinResult;
//@description The join was declined by the guard bot
chatJoinResultDeclined = ChatJoinResult;
@@ -12772,6 +12771,11 @@ getMainWebApp chat_id:int53 bot_user_id:int53 start_parameter:string parameters:
//@parameters Parameters to use to open the Web App
getWebAppUrl bot_user_id:int53 url:string parameters:webAppOpenParameters = WebAppUrl;
+//@description Returns an HTTPS URL of a Web App of a guard bot to open after receiving chatJoinResultGuardBotApprovalRequired
+//@query_id Unique identifier of the join request as received in chatJoinResultGuardBotApprovalRequired
+//@parameters Parameters to use to open the Web App
+getGuardBotWebAppUrl query_id:int64 parameters:webAppOpenParameters = WebAppUrl;
+
//@description Sends data received from a keyboardButtonTypeWebApp Web App to a bot
//@bot_user_id Identifier of the target bot
//@button_text Text of the keyboardButtonTypeWebApp button, which opened the Web App