All Collections
Channels Deep Dive
Use Telegram Buttons from Intercom Inbox
Use Telegram Buttons from Intercom Inbox

Use Octopods to add prompts at the end of your message to send Telegram buttons right from your Inbox

Youssef Amir avatar
Written by Youssef Amir
Updated over a week ago

This article shows you ways to send Telegram keyboards along with your Intercom message using the Octopods + Telegram integration.

Default prefix

All commands to include Telegram keyboards should start with the prefix /oct:

*More examples on this below

Supported commands

For now, we support these commands:

  • reply_keyboard

  • remove_reply_keyboard

  • inline_keyboard

  • highlight_reply


Reply Keyboard

A reply keyboard lets you choose a set of options for your user to reply to you with; this reply gets sent back as a text message to you.

Default syntax:

Your message ends here. /oct: reply_keyboard(Option 1, Option 2, Option 3)

Adding rows [optional]:

By default, each of the options you have included takes its row, but you can modify that as well

Your message ends here. /oct: reply_keyboard(Option 1, row: 1) (Option 2, row: 1) (Option 3, row: 2)

Remove Reply Keyboard

The keyboard will stay up until you update it with a new one, or the user toggles it using the keyboard button. You can also hide that keyboard with a new message

Your message ends here. /oct: remove_reply_keyboard

Inline Keyboard

Unline the reply keyboard, the inline keyboard enables you to offer button-like features for your user.

Here are the features supported for these buttons:

  • url: a button that directs to the URL specified

  • reply: a button that automatically populates the user input with the bot username (for quick reply)

Default syntax:

Your message ends here. /oct: inline_keyboard(Button 1, url: URL) (Button 2, Reply) (Button 3, url: URL 2)

Examples:

Your message ends here. /oct: inline_keyboard(Tell us more, reply) (website, url:https://octopods.io/)
Your message ends here. /oct: inline_keyboard(Tell us more, reply: Default reply)

*These two screenshots are taken after the user pressed the reply button

*Avoid linking your intercom message with the URLs (disable hyperlink)

Adding rows [optional]:

By default, each of the options you have included takes its row, but you can modify that as well

Your message ends here. /oct: inline_keyboard(Tell us more, reply: Default reply, row: 1) (website, url:https://octopods.io/, row: 1)

Highlight Reply

You can highlight your message to be replied by the user you are communicating with.

Highlighted Message. /oct: highlight_reply

*More telegram keyboard features and message types are in the queue

Did this answer your question?