Chat.ClientApiEvents

Methods

member.joined

member.joined(member): void

A new member joined the chat.

Parameters

NameType
memberChatMember

Returns

void


member.left

member.left(member): void

A member left the chat.

Parameters

NameType
memberChatMember

Returns

void


member.updated

member.updated(member): void

A member updated its state.

Parameters

NameType
memberChatMember

Returns

void


message

message(message): void

A new message has been received.

Parameters

NameType
messageChatMessage

Returns

void


session.expiring

session.expiring(): void

The session is going to expire. Use the updateToken method to refresh your token.

Returns

void