MadelineProtoDocs/docs/MTProto_docs/constructors/p_q_inner_data.md

1.3 KiB

title description image
p_q_inner_data PQ inner data https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: p_q_inner_data

Back to constructors index

PQ inner data

Attributes:

Name Type Required Description
pq bytes Yes PQ
p bytes Yes P
q bytes Yes Q
nonce int128 Yes Nonce
server_nonce int128 Yes Nonce
new_nonce int256 Yes Nonce

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", "bytes":"base64 encoded bytes"}, "p": {"_": "bytes", "bytes":"base64 encoded bytes"}, "q": {"_": "bytes", "bytes":"base64 encoded 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}