Constructor: auth.exportedAuthorization

Back to constructors index

Exported authorization

Attributes:

Name Type Required Description
id int Yes ID
bytes bytes Yes Bytes

Type: auth_ExportedAuthorization

Example:

$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes'];

PWRTelegram json-encoded version:

{"_": "auth.exportedAuthorization", "id": int, "bytes": {"_": "bytes", "bytes":"base64 encoded bytes"}}

Or, if you’re into Lua:

auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'}