Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

User → Create Private Chat

AI-generated

Summary

Create a private chat with a specified Telegram user by their user ID, optionally forcing the chat creation even if a chat already exists.

Inputs

  • User ID (required) — ID of the user to create a private chat with.
  • Force (required) — Boolean indicating whether to force creation of the private chat even if one exists.

Output shape

a single JSON object representing the created private chat

The output contains the details of the private chat created with the specified user. If an error occurs, it may be returned depending on the node's error handling settings.

Examples

Example 1: Create a private chat with user ID '123456' without forcing creation

Set User ID to '123456' and Force to false

Example 2: Force create a new private chat with user ID '123456'

Set User ID to '123456' and Force to true

Links

Discussion