DataJSON

class pyrogram.raw.types.DataJSON

Represents a json-encoded object

Constructor of DataJSON.

Details:
  • Layer: 187

  • ID: 7D748D04

Parameters:

data (str) – JSON-encoded object

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

Get phone call configuration to be passed to libtgvoip's shared config