sendChatJoinRequestWebApp

Returns: bool

class aiogram.methods.send_chat_join_request_web_app.SendChatJoinRequestWebApp(*, chat_join_request_query_id: str, web_app_url: str, **extra_data: Any)[source]

Use this method to process a received chat join request query by showing a Mini App to the user before deciding the outcome. Returns True on success.

Source: https://core.telegram.org/bots/api#sendchatjoinrequestwebapp

chat_join_request_query_id: str

Unique identifier of the join request query

web_app_url: str

The URL of the Mini App to be opened

Usage

As bot method

result: bool = await bot.send_chat_join_request_web_app(...)

Method as object

Imports:

  • from aiogram.methods.send_chat_join_request_web_app import SendChatJoinRequestWebApp

  • alias: from aiogram.methods import SendChatJoinRequestWebApp

With specific bot

result: bool = await bot(SendChatJoinRequestWebApp(...))

As reply into Webhook in handler

return SendChatJoinRequestWebApp(...)

As shortcut from received object