Telegram

It’s possible to put your Telegram bot communication into Zammad. To do so, you need to follow the steps below.

Note

  • Your Zammad instance needs to be publicly available via HTTPS (usage of Telegram webhooks).

  • The attachment size is limited to 20MB by Telegram’s Bot API.

Register a Telegram Bot App

Register your Telegram bot via your Telegram client according to the steps below. You can find additional information in Telegram’s bot documentation.

Go to BotFather
Screenshot shows initial BotFather chat in Telegram
Register a new bot

Register a new bot by using /newbot and define its name and username.

Screenshot shows BotFather chat where a new bot is created
Get your API token

When you’re all done, you will get your Telegram bot API token

Screenshot shows BotFather chat after creating the bot

Configure Zammad as Telegram Bot

Go to Channels > Telegram in Zammad’s settings and click Add Bot. Enter your API token, a welcome message and a goodbye message and choose a group in which the tickets will be created.

Screenshot shows Zammad's Telegram configuration dialog

After successfully creating the bot by clicking the Submit button, you can see your bot now in the channel detail section.

Screenshot shows existing Telegram bot in Zammad

That’s it. Now you can start using the Telegram channel in Zammad. To add another bot or edit, deactivate or delete the created bot, use the respective buttons to do so.