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

1.2 KiB

title description image
server_DH_params_ok Server params ok https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: server_DH_params_ok

Back to constructors index

Server params ok

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
encrypted_answer bytes Yes Encrypted answer

Type: Server_DH_Params

Example:

$server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => 'bytes'];

PWRTelegram json-encoded version:

{"_": "server_DH_params_ok", "nonce": int128, "server_nonce": int128, "encrypted_answer": {"_": "bytes", "bytes":"base64 encoded bytes"}}

Or, if you're into Lua:

server_DH_params_ok={_='server_DH_params_ok', nonce=int128, server_nonce=int128, encrypted_answer='bytes'}