1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 21:46:55 +01:00
MadelineProto/docs/TD_docs/methods/deleteTopChat.md
2017-08-25 15:05:53 +02:00

24 lines
680 B
Markdown

---
title: deleteTopChat
description: Delete a chat from a list of frequently used chats. Supported only if chat info database is enabled
---
## Method: deleteTopChat
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Delete a chat from a list of frequently used chats. Supported only if chat info database is enabled
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|category|[TopChatCategory](../types/TopChatCategory.md) | Yes|Category of frequently used chats|
|chat\_id|[InputPeer](../types/InputPeer.md) | Yes|Chat identifier|
### Return type: [Ok](../types/Ok.md)