mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 05:36:56 +01:00
23 lines
521 B
Markdown
23 lines
521 B
Markdown
---
|
|
title: closeSecretChat
|
|
description: Closes secret chat, effectively transfering its state to "Closed"
|
|
---
|
|
## Method: closeSecretChat
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Closes secret chat, effectively transfering its state to "Closed"
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|secret\_chat\_id|[int](../types/int.md) | Yes|Secret chat identifier|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|