pub async fn send_web_app_data(
bot_user_id: i64,
button_text: String,
data: String,
client_id: i32,
) -> Result<(), Error>
Expand description
Sends data received from a keyboardButtonTypeWebApp Web App to a bot
ยงArguments
bot_user_id
- Identifier of the target botbutton_text
- Text of the keyboardButtonTypeWebApp button, which opened the Web Appdata
- The dataclient_id
- The client id to send the request to