Available methods

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

parametertyperequireddescription
chat_join_request_query_idstringrequiredUnique identifier of the join request query
web_app_urlstringrequiredThe 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.

bot.ts
import type { SendChatJoinRequestWebAppParams } from "@yaebal/types";

await bot.api.call<boolean>("sendChatJoinRequestWebApp", {
  chat_join_request_query_id: "...",
  web_app_url: "...",
} satisfies SendChatJoinRequestWebAppParams);