sendChatJoinRequestWebApp()
Use this method to process a received chat join request query by showing a Mini App to the user before deciding the outcome. Call answerChatJoinRequestQuery to resolve the join request query based on the user interaction with the Mini App. Returns True on success.
parameters
| parameter | type | required | description |
|---|---|---|---|
chat_join_request_query_id | string | required | Unique identifier of the join request query |
web_app_url | string | required | The URL of the Mini App to be opened |
returns
boolean
usage in yaebal
not (yet) hard-typed on Api — call it through the generic .call<T>() escape hatch documented in @yaebal/types.
import type { SendChatJoinRequestWebAppParams } from "@yaebal/types";
await bot.api.call<boolean>("sendChatJoinRequestWebApp", {
chat_join_request_query_id: "...",
web_app_url: "...",
} satisfies SendChatJoinRequestWebAppParams);official Bot API docs: https://core.telegram.org/bots/api/#sendchatjoinrequestwebapp