MadelineProtoDocs/old_docs/API_docs_v43/constructors/messages.inactiveChats.md

42 lines
1023 B
Markdown
Raw Permalink Normal View History

2020-09-12 12:47:38 +02:00
---
title: messages.inactiveChats
description: Inactive chat list
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/messages_inactiveChats.html
---
# Constructor: messages.inactiveChats
[Back to constructors index](index.md)
Inactive chat list
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|dates|Array of [int](../types/int.md) | Yes|When was the chat last active|
|chats|Array of [Chat](../types/Chat.md) | Yes|Chat list|
|users|Array of [User](../types/User.md) | Yes|Users mentioned in the chat list|
### Type: [messages.InactiveChats](../types/messages.InactiveChats.md)
### Example:
```php
$messages.inactiveChats = ['_' => 'messages.inactiveChats', 'dates' => [int, int], 'chats' => [Chat, Chat], 'users' => [User, User]];
```
Or, if you're into Lua:
```lua
messages.inactiveChats={_='messages.inactiveChats', dates={int}, chats={Chat}, users={User}}
```