Telegram templates#

Note

This feature is only available in Tattler’s enterprise edition.

Address type

Telegram ID. Retrieve it e.g. with a Telegram Login Widget.

Default gateway

Telegram Bots API.

Encoding

Unicode.

Content type

Plain text, markdown or HTML.

Maximum content length

4096 Latin characters.

Emojis

Only in HTML.

Costs

None.

Telegram templates are similar to SMS templates.

Hint

Telegram requires you to have a telegram id as the address of the recipient.

You can retrieve this ID by integrating a Telegram Login Button on your website.

If you want to notify an event via Telegram, add the telegram folder within the event folder, and its content into a text file named body within it:

templates_base/
└── mywebapp/
    └── password_changed/
        └── telegram/                 <- Telegram vector
            └── body.txt              <- content template

Caution

The Telegram platform poses some requirements to deliver messages!

  • Create a Telegram Bot that will send messages to your users.

  • Users must authorize the bot before Telegram allows it to send them messages. They can do so by opening a chat the bot, or you can collect their authorization with a Telegram Login button .