mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 11:07:40 +01:00
29 lines
743 B
Markdown
29 lines
743 B
Markdown
|
---
|
||
|
title: dialog
|
||
|
description: dialog attributes, type and example
|
||
|
---
|
||
|
## Constructor: dialog
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|:-------------:|---------:|
|
||
|
|peer|[Peer](../types/Peer.md) | Required|
|
||
|
|top\_message|[int](../types/int.md) | Required|
|
||
|
|read\_inbox\_max\_id|[int](../types/int.md) | Required|
|
||
|
|unread\_count|[int](../types/int.md) | Required|
|
||
|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [Dialog](../types/Dialog.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ];
|
||
|
```
|