MadelineProto/old_docs/API_docs_v57/constructors/messages_peerDialogs.md

31 lines
847 B
Markdown
Raw Normal View History

---
title: messages.peerDialogs
description: messages_peerDialogs attributes, type and example
---
## Constructor: messages.peerDialogs
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|dialogs|Array of [Dialog](../types/Dialog.md) | Required|
|messages|Array of [Message](../types/Message.md) | Required|
|chats|Array of [Chat](../types/Chat.md) | Required|
|users|Array of [User](../types/User.md) | Required|
|state|[updates\_State](../types/updates_State.md) | Required|
### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md)
### Example:
```
$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ];
```