This article shows you ways to send Telegram keyboards along with your Intercom message using the Octopods + Telegram integration with the Intercom Inbox App.
Supported message types:
Reply Buttons (equivalent to telegram: inline_keyboard)
Reply Keyboard
Remove Reply Keyboard
Highlight Reply
Interactive Messages Types
Reply Buttons
Telegram refers to these buttons as inline keyboard. It enables you to offer button-like features for your user.
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.
The remove reply keyboard message type allows you to disable this keyboard with your message.
โ
Highlight Reply
As per its name, the highlight reply automatically highlights the message as a reply for the customer in the chat. You can also add a placeholder with this highlight.
Sending Interactive Messages
Interactive Messages Components
Here is an overview of components per interactive message type. At least one of those buttons has to be populated with each message.
Reply Buttons:
url
: a button that directs to the URL specified (URLS have to be valid and accessible)inline_reply
: a button that automatically populates the user input with the bot username with an inline reply text, if provided.
Reply Keyboard:
text
: a button that allows the user to automatically sends this text backrequest_contact
: a button that asks the user to open their contact list and forward a contact information into the chatrequest
_location: a button that asks the user to open their location and forward their own or a location details into the chat
Using Octopods Inbox App
You can use the Octopods Inbox App to build and send an interactive message right from your Intercom inbox.
Here is an example of sending a Reply Buttons message:
Choose your message type: the first step in building the interactive message is to choose the type of the message you are going to construct.
โBuild your Reply Button message: choose each button type.
Preview & send your created message:
And that's it! Following those three steps, you'd be able to send your interactive messages right away to your customers