MadelineProtoDocs/docs/API_docs/constructors/auth_exportedAuthorization.md
2018-04-19 17:56:40 +00:00

953 B

title description image
auth.exportedAuthorization auth_exportedAuthorization attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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