Connect

Connect Telegram directly

Changed on

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

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/connect/telegram
  • Auth: HTTP bearer

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

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status