24 lines
627 B
Markdown
24 lines
627 B
Markdown
---
|
|
title: closeChat
|
|
description: Chat is closed by the user. Many useful activities depends on chat being opened or closed.
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Method: closeChat
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Chat is closed by the user. Many useful activities depends on chat being opened or closed.
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Description | Required |
|
|
|----------|---------------|-------------|----------|
|
|
|chat\_id|[int53](../types/int53.md) | Chat identifier | Yes|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|