25 lines
753 B
Markdown
25 lines
753 B
Markdown
---
|
|
title: deleteTopChat
|
|
description: Delete a chat from a list of frequently used chats. Supported only if chat info database is enabled
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# 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
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Description | Required |
|
|
|----------|---------------|-------------|----------|
|
|
|category|[TopChatCategory](../types/TopChatCategory.md) | Category of frequently used chats | Yes|
|
|
|chat\_id|[int53](../types/int53.md) | Chat identifier | Yes|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|