Initiate Chat
The initiateChat action is used to initiate a chat session with an optional pre-filled message. This opens the support window and sends the provided message to start the conversation.
Usage
To initiate a chat, call the initiateChat method on the widget instance:
window._asurion_widget('initiateChat', { message: 'Help me set up my device' });
Parameters
| Parameter | Type | Description |
|---|---|---|
message | string | The message to pre-fill the chat with. |