send_web_app_custom_request()

Client.send_web_app_custom_request()

Sends a custom request from a Web App.

Usable by Users Bots
Parameters:
  • bot_user_id (``int`` | ``str``) – Unique identifier of the inline bot you want to get results from. You can specify a @username (str) or a bot ID (int).

  • method (``str``) – The method name.

  • parameters (``str``) – JSON-serialized method parameters.

Returns:

``str`` (On success, a JSON-serialized result is returned.)

Raises:

RPCError –