Actions41
- Chat Actions
- Contact Actions
- Custom Request Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
User → Create Private Chat
AI-generatedSummary
Create a private chat with a specified user, optionally forcing the creation even if an existing chat exists.
Inputs
- User ID (required) — The Telegram user ID to create a private chat with.
- Force (required) — Boolean flag to force the creation of a new private chat regardless of existing chat state.
Output shape
A single object representing the created private chat.
The operation returns the result object from the Telegram client invoke call for creating a private chat. If the operation is successful, this includes the details of the created chat. Errors may be thrown or returned based on the Telegram client state and input.