1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 23:39:36 +01:00
MadelineProto/docs/API_docs/constructors/server_DH_inner_data.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.2 KiB

title description
server_DH_inner_data server_DH_inner_data attributes, type and example

Constructor: server_DH_inner_data

Back to constructors index

Attributes:

Name Type Required
nonce int128 Yes
server_nonce int128 Yes
g int Yes
dh_prime string Yes
g_a string 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' => 'string', 'g_a' => 'string', 'server_time' => int];

PWRTelegram json-encoded version:

{"_": "server_DH_inner_data", "nonce": int128, "server_nonce": int128, "g": int, "dh_prime": "string", "g_a": "string", "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='string', g_a='string', server_time=int}