MadelineProtoDocs/docs/TD_docs/methods/createPrivateChat.md

24 lines
569 B
Markdown

---
title: createPrivateChat
description: Returns existing chat corresponding to the given user
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: createPrivateChat
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns existing chat corresponding to the given user
### Parameters:
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|user\_id|[int](../types/int.md) | User identifier | Yes|
### Return type: [Chat](../types/Chat.md)