1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 07:36:55 +01:00
MadelineProto/docs/MTProto_docs/constructors/p_q_inner_data.md

48 lines
1.1 KiB
Markdown
Raw Normal View History

---
title: p_q_inner_data
description: p_q_inner_data attributes, type and example
---
## Constructor: p\_q\_inner\_data
[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:
```
2016-12-30 21:21:36 +01:00
$p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => bytes, 'p' => bytes, 'q' => bytes, 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256, ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"p_q_inner_data","pq":"bytes","p":"bytes","q":"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, }
```