mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 03:47:20 +01:00
43 lines
696 B
Markdown
43 lines
696 B
Markdown
|
---
|
||
|
title: receivedNotifyMessage
|
||
|
description: receivedNotifyMessage attributes, type and example
|
||
|
---
|
||
|
## Constructor: receivedNotifyMessage
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|id|[int](../types/int.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "receivedNotifyMessage", "id": int}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
receivedNotifyMessage={_='receivedNotifyMessage', id=int}
|
||
|
|
||
|
```
|
||
|
|
||
|
|