Function send_web_app_custom_request

Source
pub async fn send_web_app_custom_request(
    bot_user_id: i64,
    method: String,
    parameters: String,
    client_id: i32,
) -> Result<CustomRequestResult, Error>
Expand description

Sends a custom request from a Web App

ยงArguments

  • bot_user_id - Identifier of the bot
  • method - The method name
  • parameters - JSON-serialized method parameters
  • client_id - The client id to send the request to