Skip to main content

deleteTelegramConnection

Deletes the Telegram notification channel connection for the authenticated user. This removes the ability to receive price alerts via Telegram.

Input Parameters

This mutation does not require any input parameters. It automatically operates on the authenticated user’s Telegram connection.

Returns

id
ID
The unique identifier of the deleted Telegram notification channel connection

Example

mutation {
  deleteTelegramConnection
}
Response:
{
  "data": {
    "deleteTelegramConnection": "550e8400-e29b-41d4-a716-446655440000"
  }
}

Behavior

  • This mutation removes the Telegram connection from the database
  • After deletion, any price rules configured to use TELEGRAM as the notification channel will not send alerts
  • The user will need to reconnect their Telegram account to receive Telegram notifications again
  • Only the authenticated user’s Telegram connection can be deleted
Deleting your Telegram connection does not disable your price rules. Rules with Telegram notifications will remain active but will not send alerts until you reconnect your Telegram account.

Error Handling

The deleteTelegramConnection mutation may throw the following error:
  • “Notification not found” - The authenticated user does not have a Telegram connection configured
This mutation requires authentication. Ensure you are passing a valid authentication token in your request headers.

Build docs developers (and LLMs) love