Skip to main content

StartChatSessionRequest

ChatKitty JS Core SDK / Exports / StartChatSessionRequest

Class: StartChatSessionRequest

Table of contents

Constructors

Properties

Constructors

constructor

new StartChatSessionRequest()

Properties

channel

channel: Channel

Defined in

lib/chat-session.ts:23


onChannelUpdated

Optional onChannelUpdated: (channel: Channel) => void

Type declaration

▸ (channel): void

Parameters
NameType
channelChannel
Returns

void

Defined in

lib/chat-session.ts:33


onEventTriggered

Optional onEventTriggered: (event: Event) => void

Type declaration

▸ (event): void

Parameters
NameType
eventEvent
Returns

void

Defined in

lib/chat-session.ts:31


onKeystrokesReceived

Optional onKeystrokesReceived: (keystrokes: Keystrokes) => void

Type declaration

▸ (keystrokes): void

Parameters
NameType
keystrokesKeystrokes
Returns

void

Defined in

lib/chat-session.ts:25


onMessageReactionAdded

Optional onMessageReactionAdded: (message: Message, reaction: Reaction) => void

Type declaration

▸ (message, reaction): void

Parameters
NameType
messageMessage
reactionReaction
Returns

void

Defined in

lib/chat-session.ts:35


onMessageReactionRemoved

Optional onMessageReactionRemoved: (message: Message, reaction: Reaction) => void

Type declaration

▸ (message, reaction): void

Parameters
NameType
messageMessage
reactionReaction
Returns

void

Defined in

lib/chat-session.ts:36


onMessageRead

Optional onMessageRead: (message: Message, receipt: ReadReceipt) => void

Type declaration

▸ (message, receipt): void

Parameters
NameType
messageMessage
receiptReadReceipt
Returns

void

Defined in

lib/chat-session.ts:34


onMessageReceived

Optional onMessageReceived: (message: Message, parent?: Message) => void

Type declaration

▸ (message, parent?): void

Parameters
NameType
messageMessage
parent?Message
Returns

void

Defined in

lib/chat-session.ts:24


onMessageUpdated

Optional onMessageUpdated: (message: Message) => void

Type declaration

▸ (message): void

Parameters
NameType
messageMessage
Returns

void

Defined in

lib/chat-session.ts:32


onParticipantEnteredChat

Optional onParticipantEnteredChat: (user: User) => void

Type declaration

▸ (user): void

Parameters
NameType
userUser
Returns

void

Defined in

lib/chat-session.ts:28


onParticipantLeftChat

Optional onParticipantLeftChat: (user: User) => void

Type declaration

▸ (user): void

Parameters
NameType
userUser
Returns

void

Defined in

lib/chat-session.ts:29


onParticipantPresenceChanged

Optional onParticipantPresenceChanged: (user: User) => void

Type declaration

▸ (user): void

Parameters
NameType
userUser
Returns

void

Defined in

lib/chat-session.ts:30


onThreadKeystrokesReceived

Optional onThreadKeystrokesReceived: (thread: Thread, keystrokes: Keystrokes) => void

Type declaration

▸ (thread, keystrokes): void

Parameters
NameType
threadThread
keystrokesKeystrokes
Returns

void

Defined in

lib/chat-session.ts:38


onThreadMessageReceived

Optional onThreadMessageReceived: (thread: Thread, message: Message) => void

Type declaration

▸ (thread, message): void

Parameters
NameType
threadThread
messageMessage
Returns

void

Defined in

lib/chat-session.ts:37


onThreadTypingStarted

Optional onThreadTypingStarted: (thread: Thread, user: User) => void

Type declaration

▸ (thread, user): void

Parameters
NameType
threadThread
userUser
Returns

void

Defined in

lib/chat-session.ts:39


onThreadTypingStopped

Optional onThreadTypingStopped: (thread: Thread, user: User) => void

Type declaration

▸ (thread, user): void

Parameters
NameType
threadThread
userUser
Returns

void

Defined in

lib/chat-session.ts:40


onTypingStarted

Optional onTypingStarted: (user: User) => void

Type declaration

▸ (user): void

Parameters
NameType
userUser
Returns

void

Defined in

lib/chat-session.ts:26


onTypingStopped

Optional onTypingStopped: (user: User) => void

Type declaration

▸ (user): void

Parameters
NameType
userUser
Returns

void

Defined in

lib/chat-session.ts:27