bots.InvokeWebViewCustomMethod#
- class pyrogram.raw.functions.bots.InvokeWebViewCustomMethod[source]#
Send a custom request from a mini bot app, triggered by a web_app_invoke_custom_method event. The response should be sent using a custom_method_invoked event, see here for more info on the flow.
Usable by Users Bots- Details:
Layer:
224ID:
87FC5E7
- Parameters:
- bot (
InputUser): Identifier of the bot associated to the mini bot app
- custom_method (
str): Identifier of the custom method to invoke
- params (
DataJSON): Method parameters
- bot (
- Returns: