Telegram¶
Enable the Telegram channel to allow ticket creation and answering from within
Zammad. To configure it under Channels > Telegram, you need the permission
admin.channel_telegram.
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
- Register a new bot
Register a new bot by using
/newbotand define its name and username.
- Get your API token
When you’re all done, you will get your Telegram bot API token
Configure Zammad as Telegram Bot¶
In Zammad’s Telegram configuration, click Add Bot. Enter
your API token, a welcome message and a goodbye message and choose a group in
which the tickets should be created.
Zammad creates a ticket with the customer’s first message to the bot.
Subsequent messages are added to the customer’s most recent open ticket of
this bot until it’s closed. Sending /start makes the bot reply with the
welcome message without creating a ticket. Sending /end closes the
customer’s most recent open ticket of this bot and sends the goodbye message,
if configured.
After successfully creating the bot by clicking the Submit button, you can
see your bot now in the channel detail section.
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.