MadelineProtoDocs/docs/API_docs/constructors/auth_exportedAuthorization.md

984 B

title description image
auth.exportedAuthorization Exported authorization https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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