Developers

Destruct

Usage

When the SDK is initialized using the access token and not using the domain key, the access token is automatically refreshed every time a certain time interval has elapsed. This is to prevent the SDK authentication from expiring. When you no longer want the SDK to be displayed, use this method to delete the orphan processes that are running to periodically refresh the access token.

If authentication has occurred using the domain key, there is no need to invoke this method.

Mandatory parameters

This method has no mandatory parameters.

Optional parameters

This method has no optional parameters.

Response data format

This method does not return any values.

Example

chatbot.api.destruct();
// your own code to remove the Chatbot SDK