24 lines
589 B
Markdown
24 lines
589 B
Markdown
---
|
|
title: createNewSecretChat
|
|
description: Creates new secret chat, returns created chat
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Method: createNewSecretChat
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Creates new secret chat, returns created chat
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Description | Required |
|
|
|----------|---------------|-------------|----------|
|
|
|user\_id|[int](../types/int.md) | Identifier of a user to create secret chat with | Yes|
|
|
|
|
|
|
### Return type: [Chat](../types/Chat.md)
|
|
|