DataJSON

class pyrogram.raw.types.DataJSON

Represents a json-encoded object.

Constructor type of DataJSON.

Details
  • Layer: 126

  • ID: 0x7d748d04

Parameters

data (str) – JSON-encoded object.

Methods

This object can be returned by 2 methods:

bots.SendCustomRequest

Sends a custom request; for bots only.

phone.GetCallConfig

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