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

968 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 string Yes

Type: Server_DH_Params

Example:

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

PWRTelegram json-encoded version:

{"_": "server_DH_params_ok", "nonce": int128, "server_nonce": int128, "encrypted_answer": "string"}

Or, if you're into Lua:

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