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