Guides
...
Platform communication
Window postMessage API

UserMessage

3min

User messages describe specific actions in the Audience/Viewer domain that are received from the context that LiSA is integrated in.

These type of messages are relevant if the context, that LiSA is integrated in, provides user data such as a unique identifier, username and optional avatar image URL.

Note: LiSA is ready to receive user messages once it sent the ready app message.

Message definition

The message target of a user message is user.

A user message contains a name, unique id and optional avatar image URL derived from your identity management system.

TypeScript


Message actions

LiSA accepts/exposes the following user actions:

Action

Description

Direction of communication

join

A viewer enters the LiSA Viewer App.

X to LiSA

Examples

Listed below are examples for user message payloads.

JS