mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 16:46:56 +01:00
23 lines
746 B
Markdown
23 lines
746 B
Markdown
---
|
|
title: addRecentlyFoundChat
|
|
description: Adds chat to the list of recently found chats. The chat is added to the beginning of the list. If the chat is already in the list, at first it is removed from the list
|
|
---
|
|
## Method: addRecentlyFoundChat
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Adds chat to the list of recently found chats. The chat is added to the beginning of the list. If the chat is already in the list, at first it is removed from the list
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|chat\_id|[InputPeer](../types/InputPeer.md) | Yes|Identifier of the chat to add|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|