Rate this page:

Telegram chatbot

Create a new bot on your Telegram account and get your API token.

  1. Open the Telegram application on your device and find the telegram bot named @botfather.
Telegram bot
  1. Enter /help. The system shows you all possible commands the botfather can operate.
/help command
  1. To create a new bot, enter /newbot or click on it. Follow the botfather instructions. After you configure your new bot, the system generates its API token. Copy this API token.
Voximplant bot
  1. Log in to your Voximplant Kit account.
  2. Go to Setup > Conversations > Channels.
  3. Select Telegram.
  4. Enter the channel name in the Channel details section.
  5. Enter the API token you received in the Channel Access Token field.
  6. In the Redirect channel messages field, select a queue or function to route customers’ messages.
Channel details
  1. In the Close channel conversations group box, define the following settings:
  • Max. closing time for agent and unassigned conversations - Specifies the maximum time a conversation waits before closing. The timer applies to agent and unassigned conversations since the last activity or message. When the timer elapses, the conversation automatically closes. The setting value must be greater than the value defined in the Max. waiting time in the queue settings. The value applies to queues and functions. The maximum value is 7 days and the minimum is 60 sec.

  • Max. closing time for bot conversations - Specifies the time given to a customer to reply to the latest message of a bot. When the timer elapses, a conversation closes. The value applies to functions and Dialogflow bots. The maximum value is 7 days and the minimum is 60 sec.

  1. In the Conversation processing group box, define how the channel agents should classify customer conversations.
  • Enable the Use tags switch to allow the channel agents to use tags for conversations' classification. All tags added in the settings are available for the channel agents in their Workspace.

  • Enable the Use topic set switch to allow the channel agents to use a topic set for conversations' classification. Select a topic set from the drop-down list.

Important

A channel can only have one topic set assigned. The assigned topic set is then available for the channel agents in their Workspace. When you select another set, it automatically replaces the previous one.

See Available Roles
  1. Add skills if needed.
  2. Click Add channel.
Add the channel
  1. To edit the channel, select it from the channels list and click the More options icon.
  2. Select Edit.
  3. Make the required changes and save them.