23 lines
494 B
Markdown
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)
|
|
|