Telegram

Update Telegram integration

Changed on

Update the Telegram integration. Omitted fields keep their current value; threadId and chatLabel accept null to clear them.

patch/telegram-integration/project/{projectId}

Request

  • Base URL
    https://cloud.kaneo.app/api
  • URL
    https://cloud.kaneo.app/api/telegram-integration/project/{projectId}
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Request body

botTokenstring
chatIdstring
threadIdnumber nullable
chatLabelstring nullable
isActiveboolean

Response

The updated 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

    • breaking

      removed the media type text/plain for the response with the status

    • breaking

      removed the media type text/plain for the response with the status

    • breaking

      removed the media type text/plain for the response with the status

    • breaking

      removed the media type text/plain for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the media type text/plain for the response with the status

    • info

      added the media type text/plain for the response with the status

    • info

      added the media type text/plain for the response with the status

    • info

      added the non-success response with the status