github.com/argoproj/argo-cd/v2@v2.10.9/docs/operator-manual/notifications/services/telegram.md (about)

     1  # Telegram
     2  
     3  1. Get an API token using [@Botfather](https://t.me/Botfather).
     4  2. Store token in `<secret-name>` Secret and configure telegram integration
     5  in `<config-map-name>` ConfigMap:
     6  
     7  ```yaml
     8  apiVersion: v1
     9  kind: ConfigMap
    10  metadata:
    11    name: <config-map-name>
    12  data:
    13    service.telegram: |
    14      token: $telegram-token
    15  ```
    16  
    17  3. Create new Telegram [channel](https://telegram.org/blog/channels).
    18  4. Add your bot as an administrator.
    19  5. Use this channel `username` (public channel) or `chatID` (private channel) in the subscription for your Telegram integration:
    20  
    21  ```yaml
    22  apiVersion: argoproj.io/v1alpha1
    23  kind: Application
    24  metadata:
    25    annotations:
    26      notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: username
    27  ```
    28  
    29  ```yaml
    30  apiVersion: argoproj.io/v1alpha1
    31  kind: Application
    32  metadata:
    33    annotations:
    34      notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1000000000000
    35  ```