DataJSON#

class pyrogram.raw.types.DataJSON#

Represents a json-encoded object.

Constructor of DataJSON.

Details:
  • Layer: 158

  • ID: 7D748D04

Parameters:

data (str) – JSON-encoded object.

Functions:

This object can be returned by 2 functions.

bots.SendCustomRequest

Sends a custom request; for bots only.

phone.GetCallConfig

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