mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 05:56:55 +01:00
23 lines
510 B
Markdown
23 lines
510 B
Markdown
---
|
|
title: createNewSecretChat
|
|
description: Creates new secret chat, returns created chat
|
|
---
|
|
## Method: createNewSecretChat
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Creates new secret chat, returns created chat
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|user\_id|[int](../types/int.md) | Yes|Identifier of a user to create secret chat with|
|
|
|
|
|
|
### Return type: [Chat](../types/Chat.md)
|
|
|