1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 06:56:55 +01:00
MadelineProto/docs/TD_docs/methods/createPrivateChat.md

23 lines
503 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|[CLICK ME int](../types/int.md) | Yes|User identifier|
### Return type: [Chat](../types/Chat.md)