# messages.messagesSlice

> Incomplete list of messages and auxiliary data.

[Back to constructors index](/API_docs/constructors/index.html)



Incomplete list of messages and auxiliary data.

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|inexact|[Bool](/API_docs/types/Bool.html) | Optional|If set, indicates that the results may be inexact|
|count|[int](/API_docs/types/int.html) | Yes|Total number of messages in the list|
|next\_rate|[int](/API_docs/types/int.html) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.html)|
|offset\_id\_offset|[int](/API_docs/types/int.html) | Optional|Indicates the absolute position of `messages[0]` within the total result set with count `count`. <br>This is useful, for example, if the result was fetched using `offset_id`, and we need to display a `progress/total` counter (like `photo 134 of 200`, for all media in a chat, we could simply use `photo ${offset_id_offset} of ${count}`).|
|search\_flood|[SearchPostsFlood](/API_docs/types/SearchPostsFlood.html) | Optional|[For global post searches »](https://core.telegram.org/api/search#posts-tab), the remaining amount of free searches, here `query_is_free` is related to the current call only, not to the next paginated call, and all subsequent pagination calls will always be free.|
|messages|Array of [Message](/API_docs/types/Message.html) | Yes|List of messages|
|topics|Array of [ForumTopic](/API_docs/types/ForumTopic.html) | Yes|
|chats|Array of [Chat](/API_docs/types/Chat.html) | Yes|List of chats mentioned in messages|
|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_messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'offset_id_offset' => int, 'search_flood' => SearchPostsFlood, 'messages' => [Message, Message], 'topics' => [ForumTopic, ForumTopic], 'chats' => [Chat, Chat], 'users' => [User, User]];
```
