mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 08:56:56 +01:00
24 lines
680 B
Markdown
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)
|
||
|
|