Telegram

Create Telegram integration

Create or replace the Telegram integration for a project. The bot token and chat are checked for shape only, not against Telegram.

post/telegram-integration/project/{projectId}

Path parameters

projectIdstring required

Request body

botTokenstring required

A Telegram bot token, in the form 123456789:AA...

chatIdstring required
threadIdnumber
chatLabelstring

Response

The stored integration

idstring required
projectIdstring required
chatIdstring required

The Telegram chat, group, or channel messages are sent to.

threadIdnumber nullable required

Forum topic id, when the target group uses topics.

chatLabelstring nullable required

A human-readable name for the chat, shown in the UI.

botTokenConfiguredboolean required
maskedBotTokenstring required
isActiveboolean nullable required
createdAtstring date-time required
updatedAtstring date-time required

Changes

Changed in 2 of the 23 revisions of this API.14

  • 08bbb5bedb5d13See the full diff
    • the response's body became nullable

      response-body-became-nullable

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 401

      response-non-success-status-added

    • added the non-success response with the status 403

      response-non-success-status-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added