v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
Connect

Connect Telegram directly

Connect a Telegram channel/group directly using the chat ID. Alternative to the access code flow. The bot must already be an admin in the channel/group.

post/v1/connect/telegram

Request body

chatIdstring required

The Telegram chat ID. Numeric ID (e.g. "-1001234567890") or username with @ prefix (e.g. "@mychannel").

profileIdstring required

The profile ID to connect the account to

Response

Telegram channel connected successfully

messagestring