MadelineProtoDocs/docs/MTProto_docs/constructors/p_q_inner_data.md

51 lines
1.3 KiB
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: p_q_inner_data
2018-06-29 13:59:08 +02:00
description: PQ inner data
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: p\_q\_inner\_data
2018-04-01 13:19:25 +02:00
[Back to constructors index](index.md)
2018-06-29 13:59:08 +02:00
PQ inner data
2018-04-01 13:19:25 +02:00
### Attributes:
2018-06-29 13:59:08 +02:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|pq|[bytes](../types/bytes.md) | Yes|PQ|
|p|[bytes](../types/bytes.md) | Yes|P|
|q|[bytes](../types/bytes.md) | Yes|Q|
|nonce|[int128](../types/int128.md) | Yes|Nonce|
|server\_nonce|[int128](../types/int128.md) | Yes|Nonce|
|new\_nonce|[int256](../types/int256.md) | Yes|Nonce|
2018-04-01 13:19:25 +02:00
### Type: [P\_Q\_inner\_data](../types/P_Q_inner_data.md)
### Example:
```
$p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => 'bytes', 'p' => 'bytes', 'q' => 'bytes', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2018-04-19 19:56:40 +02:00
{"_": "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}
2018-04-01 13:19:25 +02:00
```
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}
```