send_chat_join_request_web_app()¶
- Client.send_chat_join_request_web_app()¶
Open a WebApp for the user who sent a join request.
Shortcut for
Usable by Users Botsanswer_chat_join_request_query()withaction="web_view".- Parameters:
query_id (
int) – Guard-bot query ID fromquery_id.url (
str) – HTTPS URL of the WebApp to open for the joining user.
- Returns:
bool– True on success.
Example
@app.on_chat_join_request() async def handler(client, request): if request.query_id: await client.send_chat_join_request_web_app( request.query_id, url="https://example.com/captcha" )