Constructor: auth.exportedAuthorization

Back to constructors index

Attributes:

Name Type Required
id int Yes
bytes bytes Yes

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'}