Comments — Join

The LiSA Player generates a message whenever a visitor joins the chat in a live stream.

This message is sent by the LiSA Player to the host app / environment.

Properties

Along with all standard Message properties, a Join message includes the following additional properties:

Name
Type
Description

mediaItemId

Required.

The mediaItemId property uniquely identifies the Media Item from which this message originates.

mediaItemType

Required.

The mediaItemType property specifies the type of Media Item from which this message originates. Refer to MediaItemType for detailed information.

messageType

Required.

lsc:comments:audience:join

progress

Required.

The progress property is an object that holds additional metadata related to the media playback progress of the current media item. Please refer to MediaProgress for detailed information.

visitorAvatarUrl

Optional.

The visitorAvatarUrl property is used to provide a URL pointing to an image that represents the visitor's avatar.

visitorExternalId

Optional.

The visitorExternalId property specifies the visitor's ID as provided in the Pass User Context message.

visitorName

Required.

The visitorName property represents the visitor's display name.

  • If provided in the Pass User Context message, it reflects the name assigned by the host app.

  • If not included, it contains the username the visitor chose when joining the chat.

Legacy Properties

circle-exclamation
Name
Type
Description

action

Required.

chat-join ⚠️ Please use messageType instead.

target

Required.

show.engage ⚠️ Please use messageType instead.

user

Required.

The user property specifies the essential user properties. Please refer to User for detailed information. ⚠️ Please use visitor* properties instead.


Type Definition

User

Name
Type
Description

id

Required.

The visitorExternalId property specifies the visitor's ID as provided in the Pass User Context message.

name

Required.

The visitorName property represents the visitor's display name.

  • If provided in the Pass User Context message, it reflects the name assigned by the host app.

  • If not included, it contains the username the visitor chose when joining the chat.

type

Required.

viewer


Examples

Last updated