DataJSON#

class pyrogram.raw.types.DataJSON#

Telegram API type.

Constructor of DataJSON.

Details:
  • Layer: 225

  • ID: 7D748D04

Parameters:

data (str) – N/A

Functions:

This object can be returned by 3 functions.

bots.SendCustomRequest

Sends a custom request; for bots only

bots.InvokeWebViewCustomMethod

Send a custom request from a mini bot app, triggered by a web_app_invoke_custom_method event.

phone.GetCallConfig

DEPRECATED: Get phone call configuration to be passed to the libtgvoip (deprecated) shared config.