MadelineProtoDocs/docs/TD_docs/methods/createPrivateChat.md
2018-04-01 13:24:46 +02:00

23 lines
494 B
Markdown

---
title: createPrivateChat
description: Returns existing chat corresponding to the given user
---
## 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 | Required | Description |
|----------|---------------|----------|-------------|
|user\_id|[int](../types/int.md) | Yes|User identifier|
### Return type: [Chat](../types/Chat.md)