mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 06:36:55 +01:00
24 lines
694 B
Markdown
24 lines
694 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
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|category|[CLICK ME TopChatCategory](../types/TopChatCategory.md) | Yes|Category of frequently used chats|
|
|
|chat\_id|[CLICK ME int53](../types/int53.md) | Yes|Chat identifier|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|