Skip to main content

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

ParameterTypeDescription
messagestringThe message to pre-fill the chat with.