MadelineProtoDocs/docs/MTProto_docs/constructors/resPQ.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

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 bytes Yes PQ
server_public_key_fingerprints Array of long Yes RSA key fingerprints

Type: ResPQ

Example:

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

PWRTelegram json-encoded version:

{"_": "resPQ", "nonce": int128, "server_nonce": int128, "pq": {"_": "bytes", "bytes":"base64 encoded bytes"}, "server_public_key_fingerprints": [long]}

Or, if you're into Lua:

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