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

33 lines
1.0 KiB
Markdown

---
title: "messages.messages"
description: "Full list of messages with auxiliary data."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/messages_messages.html
---
# Constructor: messages.messages
[Back to constructors index](/API_docs/constructors/index.html)
Full list of messages with auxiliary data.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|messages|Array of [Message](/API_docs/types/Message.html) | Yes|List of messages|
|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.Messages](/API_docs/types/messages.Messages.html)
### Example:
```
$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]];
```