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

1.1 KiB

title description
p_q_inner_data p_q_inner_data attributes, type and example

Constructor: p_q_inner_data

Back to constructors index

Attributes:

Name Type Required
pq bytes Yes
p bytes Yes
q bytes Yes
nonce int128 Yes
server_nonce int128 Yes
new_nonce int256 Yes

Type: P_Q_inner_data

Example:

$p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'bytes', 'p' => 'bytes', 'q' => 'bytes', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256];

PWRTelegram json-encoded version:

{"_": "p_q_inner_data", "pq": "bytes", "p": "bytes", "q": "bytes", "nonce": int128, "server_nonce": int128, "new_nonce": int256}

Or, if you're into Lua:

p_q_inner_data={_='p_q_inner_data', pq='bytes', p='bytes', q='bytes', nonce=int128, server_nonce=int128, new_nonce=int256}