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.
Migration guide
Use showMessenger instead.
Hide the messenger.
Migration guide
Use hideMessenger instead.
Move to the Home.
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
supportBotIdexists, it will be triggered. IfsupportBotIdis not provided or invalid, an error page is displayed.If a
messageargument is provided, it will be inputted in the chat field after the support bot's operation completes.
behavior |
|
| note |
|---|---|---|---|
Trigger a specific support bot |
|
| Displays an error page if |
Trigger a specific support bot and input a message after completion |
|
| Displays an error page if |
parameter | type | description |
|---|---|---|
supportBotId |
| The ID of the support bot. |
message | (optional) | The message to be inputted in the input field after the support bot's operation. |
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.
Migration guide
Use the callback parameter of the boot instead.
Register a callback function to execute when the messenger is opened.
Migration guide
Use onShowMessenger instead.
Register a callback function to execute when the messenger is hidden.
Migration guide
Use the onHideMessenger instead.
Register a callback function to execute when the count of messages that the user has not yet read.
Migration guide
Use the onBadgeChanged instead.
Register a callback function to execute when a chat is created.
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 nameemail: user’s emailmobileNumber: user’s mobile number
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 nameemail: user’s emailmobileNumber: user’s mobile number
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
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.