1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
server_DH_inner_data | server_DH_inner_data attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: server_DH_inner_data
Attributes:
Name | Type | Required |
---|---|---|
nonce | int128 | Yes |
server_nonce | int128 | Yes |
g | int | Yes |
dh_prime | bytes | Yes |
g_a | bytes | Yes |
server_time | int | Yes |
Type: Server_DH_inner_data
Example:
$server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => 'bytes', 'g_a' => 'bytes', 'server_time' => int];
PWRTelegram json-encoded version:
{"_": "server_DH_inner_data", "nonce": int128, "server_nonce": int128, "g": int, "dh_prime": {"_": "bytes", "bytes":"base64 encoded bytes"}, "g_a": {"_": "bytes", "bytes":"base64 encoded bytes"}, "server_time": int}
Or, if you're into Lua:
server_DH_inner_data={_='server_DH_inner_data', nonce=int128, server_nonce=int128, g=int, dh_prime='bytes', g_a='bytes', server_time=int}