Channel Developers

This document explains the SDK that are no longer supported or are about to be deprecated.

We recommend not using the legacy SDKs described in this document.

Legacy SDKs can be removed at any time, which can lead to errors.

If you are already using the SDK, replace it as soon as possible through the SDK’s migration guide.

Show the messenger.

JavaScript

Migration guide

Use showMessenger instead.

Hide the messenger.

JavaScript

Migration guide

Use hideMessenger instead.

Move to the Home.

JavaScript

Deprecated. Use openWorkflow instead.

The support bot is no longer supported and was replaced by workflow. The behavior of openSupportBot is the same as that of openWorkflow. message parameter is ignored.

Opens a chat and initiates a specific support bot.

  • If a support bot with the provided supportBotId exists, it will be triggered. If supportBotId is not provided or invalid, an error page is displayed.

  • If a message argument is provided, it will be inputted in the chat field after the support bot's operation completes.

behavior

supportBotId

message

note

Trigger a specific support bot

string

undefined

Displays an error page if supportBotId is invalid.

Trigger a specific support bot and input a message after completion

string

string

Displays an error page if supportBotId is invalid.

JavaScript

parameter

type

description

supportBotId

string

The ID of the support bot.

message

(optional) string

The message to be inputted in the input field after the support bot's operation.

JavaScript

Register the callback function to execute when the boot is completed.

When the boot succeeds, the callback function passes a user object. When the boot fails, the callback function passes undefined.

JavaScript

Migration guide

Use the callback parameter of the boot instead.

Register a callback function to execute when the messenger is opened.

JavaScript

Migration guide

Use onShowMessenger instead.

Register a callback function to execute when the messenger is hidden.

JavaScript

Migration guide

Use the onHideMessenger instead.

Register a callback function to execute when the count of messages that the user has not yet read.

JavaScript

Migration guide

Use the onBadgeChanged instead.

Register a callback function to execute when a chat is created.

JavaScript

Migration guide

Use onChatCreated instead.

Register a callback function to execute when the user changes the user’s profile.

The profile object passed to the argument of the callback function includes the following fields.

  • name: user’s name

  • email: user’s email

  • mobileNumber: user’s mobile number

JavaScript

Migration guide

Use onFollowUpChanged instead.

Register a callback function to execute when the user changes the user’s profile.

The profile object passed to the argument of the callback function includes the following fields.

  • name: user’s name

  • email: user’s email

  • mobileNumber: user’s mobile number

JavaScript

Migration guide

Use onFollowUpChanged instead.

Register a callback function to execute when the user clicks a link.

The links that the user can click include the following list.

  • Link button/text in marketing pop-up

  • Link button/text sent by manager in chat

JavaScript

Migration guide

Use onUrlClicked instead.

Set whether to hide a default channel button.

Migration guide

Use hideChannelButtonOnBoot instead.

Set a default language.

Migration guide

Use language instead.

Set whether to track a default event(PageView).

Migration guide

Use trackDefaultEvent instead.

Set whether to track the UTM source and referrer or not.

Migration guide

Use trackUtmSource instead.