{% extends "base.html" %} {% load compress humanize static hc_extras %} {% block title %}Telegram Integration for {{ site_name }}{% endblock %} {% block description %} {% endblock %} {% block content %}

Telegram

{% if recipient.id %}

When a check goes up or down, {{ site_name }} will send notifications to {% if recipient.type == "private" %} a Telegram user {% elif recipient.type == "channel" %} a Telegram channel {% else %} a Telegram group {% endif %} named {{ recipient.name }}.

Integration Settings

{% csrf_token %}
{% else %}

If your team uses Telegram, you can set up {{ site_name }} to post status updates directly to an appropriate Telegram user, group or channel.

Setup Guide

Groups: If you want notifications sent to a group, start by inviting {{ bot_name }} to the group. The bot will get added as a member with no access to group messages.

Direct messages: If you want notifications sent to yourself directly, start a conversation with {{ bot_name }}.

Channels: If you want notifications sent to a Telegram channel, add {{ bot_name }} to the channel's Administrators. Enable the "Post Messages" admin right, and disable all other admin rights.

Screenshot

Type /start command. If there are multiple bots in the group, type /start@{{ bot_name }} instead.

If you want {{ site_name }} to post notifications to a specific group topic, send a /start@{{ bot_name }} command from that topic.

The bot will respond with a confirmation link.

Screenshot

Click or tap on the confirmation link, and {{ site_name }} will open in a browser window asking you to confirm the new integration.

Select the project you want the Telegram integration added to, click on "Connect Telegram", and it's done!

Screenshot
{% endif %}
{% endblock %}