Telegram is a cloud-based encrypted instant messaging service. Telegram regards chatbots as third-party applications that run inside the Telegram platform. Users can interact with bots by sending them messages, commands, and inline requests. Our Telegram Integration allows you to easily create Telegram bots.

Capabilities

Telegram supports a wide variety of reply actions as seen in the messaging capabilities grid. Below is a detailed view of each capability.

Text

Telegram displays any plain text messages.

Text docs - JS template docs

Emojis

Telegram displays any unicode emoji sent in text messages. Mobile users can use the emoji keyboard on their device to send them.

Emojis docs - JS template docs

Image

Telegram displays static images.

Image docs - JS template docs

File

Telegram displays files and allows users to download them.

File docs - JS template docs

Video

Telegram displays videos and allows users to play them.

Video docs - JS template docs

Audio

Telegram provides audios and allows users to play them.

Audio docs - JS template docs

Location

Telegram displays the Google Maps link of the location. Location messages include longitude and latitude coordinates.

Location docs - JS template docs

Send and receive geolocation

Card

Telegram displays cards. Cards must include title and optionally can include subtitle, media, action and buttons.

Card docs - JS template docs

Carousel

Telegram displays carousels that contain cards.

Carousel docs - JS template docs

List

Telegram displays lists that contain cards.

List docs - JS template docs

Buttons

Telegram displays buttons.

Buttons docs - JS template docs

Configuration

Telegram is can be done in 10 easy steps

What you'll need

Make sure that you have a Telegram account. If you don't have one — all you need is a phone number:

Create a Telegram bot

  1. Open the Telegram app
  2. Type BotFather withing the search bar and choose the Bot Father bot.
  3. Press the Start button or type /start inside the chat, there you will see a bunch of options.
  4. Type /newbot or press the /newbot option, then enter a username for your bot, ending in "bot" (e.g. SearchFlyBot).
  5. Copy the token, that was just created to the clipboard and store it in a safe location.

Connect to Flow

  1. Choose the Flow project to which you would like to connect the Telegram bot
  2. Open to the Integrations section and press the + button.
  3. Choose Telegram inside the messaging section.
  4. Paste the Access Token from the clipboard into the related field and press the Save button.
  5. Now you can start testing your Telegram bot!

Testing

Find the bot within the Telegram search bar, then press the Start button or type /start inside chat. If all previous stages were completed successfully, the bot should reply: