auth.ExportedAuthorization

class pyrogram.raw.types.auth.ExportedAuthorization

Data for copying of authorization between data centers.

Constructor of ExportedAuthorization.

Details:
  • Layer: 223

  • ID: B434E2B8

Parameters:
  • id (int 64-bit) – current user identifier

  • bytes (bytes) – authorizes key

Functions:

This object can be returned by 1 function.

auth.ExportAuthorization

Returns data for copying authorization to another data-center.

TL Schema

auth.exportedAuthorization#b434e2b8
id:long
bytes:bytes

= auth.ExportedAuthorization

Parameter Tree

ExportedAuthorization
├── idlong
└── bytesbytes

Example

ExportedAuthorization(
    id=0,
    bytes=b"data",
)