1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 13:46:54 +01:00
MadelineProto/docs/MTProto_docs/constructors/server_DH_params_ok.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

963 B

title description
server_DH_params_ok server_DH_params_ok attributes, type and example

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