Skip to content

Telegram (FREE ALL)

Introduced in GitLab 16.1.

You can configure GitLab to send notifications to a Telegram chat or channel. To set up the Telegram integration, you must:

  1. Create a Telegram bot.
  2. Configure the Telegram bot.
  3. Set up the Telegram integration in GitLab.

Create a Telegram bot

To create a bot in Telegram:

  1. Start a new chat with @BotFather.
  2. Create a new bot as described in the Telegram documentation.

When you create a bot, BotFather provides you with an API token. Keep this token secure as you need it to authenticate the bot in Telegram.

Configure the Telegram bot

To configure the bot in Telegram:

  1. Add the bot as an administrator to a new or existing channel.
  2. Assign the bot Post Messages rights to receive events.
  3. Create an identifier for the channel.
    • For public channels, enter a public link and copy the channel identifier (for example, https:/t.me/MY_IDENTIFIER).
    • For private channels, use the getUpdates method with your API token and copy the channel identifier (for example, -2241293890657).

Set up the Telegram integration in GitLab

After you invite the bot to a Telegram channel, you can configure GitLab to send notifications:

  1. To enable the integration:
    • For your group or project:
      1. On the left sidebar, select Search or go to and find your project or group.
      2. Select Settings > Integrations.
    • For your instance:
      1. On the left sidebar, at the bottom, select Admin Area.
      2. Select Settings > Integrations.
  2. Select Telegram.
  3. Under Enable integration, select the Active checkbox.
  4. In New token, paste the token value from the Telegram bot.
  5. In the Trigger section, select the checkboxes for the GitLab events you want to receive in Telegram.
  6. In Channel identifier, paste the Telegram channel identifier.
  7. Optional. Select Test settings.
  8. Select Save changes.

The Telegram channel can now receive all selected GitLab events.