MadelineProtoDocs/docs/MTProto_docs/constructors/server_DH_params_ok.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.0 KiB

title description image
server_DH_params_ok server_DH_params_ok attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: server_DH_params_ok

Back to constructors index

Attributes:

Name Type Required
nonce int128 Yes
server_nonce int128 Yes
encrypted_answer bytes Yes

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"}

Or, if you're into Lua:

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