49 lines
1.3 KiB
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: p_q_inner_data
description: p_q_inner_data attributes, type and example
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-04 23:19:57 +00:00
# Constructor: p\_q\_inner\_data
2018-04-01 13:19:25 +02:00
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|pq|[bytes](../types/bytes.md) | Yes|
|p|[bytes](../types/bytes.md) | Yes|
|q|[bytes](../types/bytes.md) | Yes|
|nonce|[int128](../types/int128.md) | Yes|
|server\_nonce|[int128](../types/int128.md) | Yes|
|new\_nonce|[int256](../types/int256.md) | Yes|
### 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 17:56:40 +00: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}
```