Our Telegram integration allows your users to send you messages through a Telegram bot. You can receive the messages in a business system or with Webhooks, and your replies are sent back as Telegram messages from the bot to the user.

Creating a Bot

To create a bot, follow the instructions here.

Create a bot with BotFather

After choosing the bot’s username, BotFather will generate an access token for the API, which Smooch will need to integrate with Telegram.

Configuring Telegram

Telegram Integration Page Settings

Once you have created the bot, all you have to do is enter the bot’s access token on the integration page. Smooch will now relay any message it receives to your business systems.

Conversations Through the Bot

To send a user to your bot, you can direct them to<your_bot_username>. Telegram users can also search for your bot by its username, which is obtained while creating a bot with BotFather. Once they have added your bot to their contacts, your bot will act as any other Telegram user. Any user will be able to send normal text messages to your bot or any of the supported file formats (documents, images, sound). If the user sends a file, the message will contain a link to the file that was sent.

When you reply from any of the configured backend channels, Telegram users will receive the message as though it was coming from the bot.

Action Buttons

When used with Telegram, message actions work as expected. A button with type link will bring the user to a web page, while postback buttons will trigger any Smooch webhook listening to the postback trigger.

Payment requests with the Stripe integration will turn into link buttons which bring the user to a checkout page where payment information can be entered.