Chatbots in Open Channels: Overview of Methods

Chatbots in open channels help automate communication with customers:

  • automatically respond to customer messages,

  • redirect dialogues to operators,

  • collect customer data, such as names and emails.

Quick navigation: all methods

Connection of Chatbots with Other Objects

User. The methods user.get and user.search allow you to obtain the user ID.

Chat. The methods imbot.message.* help send, modify, and delete messages.

Open Channels. Chatbots can transfer conversations to another line using imopenlines.bot.session.transfer. Working with open channels should be done using the group of methods imopenlines.*.

How to Use Chatbots in Open Channels

  1. Register the chatbot using the method im.bot.register.

  2. Set up automatic responses and scenarios.

  3. Connect the chatbot to open channels.

Overview of Methods

Scope: imopenlines, imbot

Who can execute the method: any user

Method

Description

imopenlines.bot.session.message.send

Sends an automatic message in the dialogue

imopenlines.bot.session.operator

Switches the dialogue to an available operator

imopenlines.bot.session.transfer

Transfers the dialogue to an operator by ID or queue

imopenlines.bot.session.finish

Ends the dialogue

Continue Learning