MadelineProtoDocs/old_docs/API_docs_v66/constructors/resPQ.md

1.1 KiB

title description image
resPQ Contains pq to factorize https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: resPQ

Back to constructors index

Contains pq to factorize

Attributes:

Name Type Required Description
nonce int128 Yes Nonce
server_nonce int128 Yes Server nonce
pq string Yes
server_public_key_fingerprints Array of long Yes RSA key fingerprints

Type: ResPQ

Example:

$resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => 'string', 'server_public_key_fingerprints' => [long, long]];

PWRTelegram json-encoded version:

{"_": "resPQ", "nonce": int128, "server_nonce": int128, "pq": "string", "server_public_key_fingerprints": [long]}

Or, if you're into Lua:

resPQ={_='resPQ', nonce=int128, server_nonce=int128, pq='string', server_public_key_fingerprints={long}}