Skip to content

Chat Window

declineInvitation()

Deprecated Don't use.

Dismiss the invitation extended to the visitor.

returns Promise

with the result of the yalst server api call.

invite()

Initiates a visitor invitation.

returns Promise

with the result of the yalst server api call.

closeChat()

Either hides the chat element in the page, or closes the chat popup window.

returns void

openChat()

Either displays the chat element in the page, or opens the chat popup window.

returns void