Open Lines in Bitrix24

We are still updating this page

Some data may be missing here — we will fill it in shortly.

Overview of Methods

Method

Description

imopenlines.config.add

Adds a new open line

imopenlines.config.delete

Deletes an open line

imopenlines.config.get

Retrieves an open line by Id

imopenlines.config.list.get

Retrieves a list of open lines

imopenlines.config.path.get

Gets a link to the public page of open lines in the account

imopenlines.config.update

Modifies an open line

imopenlines.network.join

Connects an external open line to the account

imopenlines.revision.get

Retrieves information about API revisions

Chatbots in Open Lines

Method

Description

imopenlines.bot.session.finish

Ends the dialogue

imopenlines.bot.session.message.send

Sends a welcome message

imopenlines.bot.session.operator

Switches the dialogue to an available operator

imopenlines.bot.session.transfer

Transfers the dialogue to an operator by Id

Chats in Open Lines

Method

Description

imopenlines.crm.chat.getLastId

Retrieves the Id of the last chat

imopenlines.crm.chat.get

Retrieves the chat for a CRM object

imopenlines.crm.chat.user.add

Adds a user to an existing chat

imopenlines.crm.chat.user.delete

Removes a user from the chat

Messages in Open Lines

Method

Description

imopenlines.crm.message.add

Sends a message to the open line

imopenlines.message.quick.save

Saves a message as a quick reply

Event

Triggered

OnOpenLineMessageAdd

When a message is added to the chat

OnOpenLineMessageUpdate

When a message is updated in the chat

OnOpenLineMessageDelete

When a message is deleted from the chat

Operators of Open Channels

Method

Description

imopenlines.operator.another.finish

Ends the dialogue of another operator

imopenlines.operator.answer

Takes the dialogue for themselves

imopenlines.operator.finish

Ends their own dialogue

imopenlines.operator.skip

Skips the dialogue

imopenlines.operator.spam

Marks the dialogue as "spam"

imopenlines.operator.transfer

Transfers the dialogue to another operator or to another line

Dialogues in Open Channels

Method

Description

imopenlines.crm.lead.create

Creates a lead based on the dialogue

imopenlines.dialog.get

Retrieves information about the dialogue (chat) of the open channel operator

imopenlines.message.session.start

Starts a new dialogue based on a message

imopenlines.session.head.vote

Rates the employee's performance in the dialogue

imopenlines.session.history.get

Retrieves chat and dialogue messages

imopenlines.session.intercept

Takes the dialogue from the current operator

imopenlines.session.join

Joins the dialogue

imopenlines.session.mode.pinAll

Pins all available dialogues to the operator

imopenlines.session.mode.pin

Pins or unpins the dialogue

imopenlines.session.mode.silent

Switches the dialogue to "hidden" mode

imopenlines.session.mode.unpinAll

Unpins all dialogues from the operator

imopenlines.session.open

Retrieves the chat by symbolic code

imopenlines.session.start

Starts a new dialogue

Event

Triggered

OnSessionStart

When a chat is created

OnSessionFinish

When a chat is closed