MadelineProtoDocs/docs/MTProto_docs/constructors/client_DH_inner_data.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.2 KiB

title description image
client_DH_inner_data Client inner data https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: client_DH_inner_data

Back to constructors index

Client inner data

Attributes:

Name Type Required Description
nonce int128 Yes Random number for cryptographic security
server_nonce int128 Yes Random number for cryptographic security, given by server
retry_id long Yes Retry ID
g_b bytes Yes G b

Type: Client_DH_Inner_Data

Example:

$client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'bytes'];

PWRTelegram json-encoded version:

{"_": "client_DH_inner_data", "nonce": int128, "server_nonce": int128, "retry_id": long, "g_b": {"_": "bytes", "bytes":"base64 encoded bytes"}}

Or, if you're into Lua:

client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b='bytes'}