Skip to content

sendWebAppData

Function · TDLib 1.8.67 · d1085f9c

Sends data received from a keyboardButtonTypeWebApp Web App to a bot

sendWebAppData(
  bot_user_id: int53,
  button_text: string,
  data: string
) → Ok

bot_user_id

int53

Identifier of the target bot

button_text

string

Text of the keyboardButtonTypeWebApp button, which opened the Web App

data

string

The data