MadelineProtoDocs/docs/API_docs/constructors/messages.dialogsSlice.md
2024-05-01 14:53:46 +02:00

35 lines
1.3 KiB
Markdown

---
title: "messages.dialogsSlice"
description: "Incomplete list of dialogs with messages and auxiliary data."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/messages_dialogsSlice.html
---
# Constructor: messages.dialogsSlice
[Back to constructors index](/API_docs/constructors/index.html)
Incomplete list of dialogs with messages and auxiliary data.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|count|[int](/API_docs/types/int.html) | Yes|Total number of dialogs|
|dialogs|Array of [Dialog](/API_docs/types/Dialog.html) | Yes|List of dialogs|
|messages|Array of [Message](/API_docs/types/Message.html) | Yes|List of last messages from dialogs|
|chats|Array of [Chat](/API_docs/types/Chat.html) | Yes|List of chats mentioned in dialogs|
|users|Array of [User](/API_docs/types/User.html) | Yes|List of users mentioned in messages and chats|
### Type: [messages.Dialogs](/API_docs/types/messages.Dialogs.html)
### Example:
```
$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]];
```