@twilio/flex-sdk
Preparing search index...
actions/Conversation
ConversationClientEvents
Interface ConversationClientEvents
interface
ConversationClientEvents
{
connectionError
:
(
data
:
ConnectionError
)
=>
void
;
connectionStateChanged
:
(
state
:
TwilsockConnectionState
)
=>
void
;
conversationAdded
:
(
conversation
:
Conversation
)
=>
void
;
conversationJoined
:
(
conversation
:
Conversation
)
=>
void
;
conversationLeft
:
(
conversation
:
Conversation
)
=>
void
;
conversationRemoved
:
(
conversation
:
Conversation
)
=>
void
;
conversationUpdated
:
(
data
:
{
conversation
:
Conversation
;
updateReasons
:
ConversationUpdateReason
[]
;
}
,
)
=>
void
;
initFailed
:
(
data
:
{
error
?:
ConnectionError
}
)
=>
void
;
initialized
:
()
=>
void
;
messageAdded
:
(
message
:
Message
)
=>
void
;
messageRemoved
:
(
message
:
Message
)
=>
void
;
messageUpdated
:
(
data
:
{
message
:
Message
;
updateReasons
:
MessageUpdateReason
[]
}
,
)
=>
void
;
participantJoined
:
(
participant
:
ConversationParticipant
)
=>
void
;
participantLeft
:
(
participant
:
ConversationParticipant
)
=>
void
;
participantUpdated
:
(
data
:
{
participant
:
ConversationParticipant
;
updateReasons
:
ConversationParticipantUpdateReason
[]
;
}
,
)
=>
void
;
pushNotification
:
(
pushNotification
:
PushNotification
)
=>
void
;
tokenAboutToExpire
:
()
=>
void
;
tokenExpired
:
()
=>
void
;
typingEnded
:
(
participant
:
ConversationParticipant
)
=>
void
;
typingStarted
:
(
participant
:
ConversationParticipant
)
=>
void
;
userSubscribed
:
(
user
:
ConversationsUser
)
=>
void
;
userUnsubscribed
:
(
user
:
ConversationsUser
)
=>
void
;
userUpdated
:
(
data
:
{
updateReasons
:
UserUpdateReason
[]
;
user
:
ConversationsUser
}
,
)
=>
void
;
}
Index
Properties
connection
Error
connection
State
Changed
conversation
Added
conversation
Joined
conversation
Left
conversation
Removed
conversation
Updated
init
Failed
initialized
message
Added
message
Removed
message
Updated
participant
Joined
participant
Left
participant
Updated
push
Notification
token
About
To
Expire
token
Expired
typing
Ended
typing
Started
user
Subscribed
user
Unsubscribed
user
Updated
Properties
connection
Error
connectionError
:
(
data
:
ConnectionError
)
=>
void
connection
State
Changed
connectionStateChanged
:
(
state
:
TwilsockConnectionState
)
=>
void
conversation
Added
conversationAdded
:
(
conversation
:
Conversation
)
=>
void
conversation
Joined
conversationJoined
:
(
conversation
:
Conversation
)
=>
void
conversation
Left
conversationLeft
:
(
conversation
:
Conversation
)
=>
void
conversation
Removed
conversationRemoved
:
(
conversation
:
Conversation
)
=>
void
conversation
Updated
conversationUpdated
:
(
data
:
{
conversation
:
Conversation
;
updateReasons
:
ConversationUpdateReason
[]
;
}
,
)
=>
void
init
Failed
initFailed
:
(
data
:
{
error
?:
ConnectionError
}
)
=>
void
initialized
initialized
:
()
=>
void
message
Added
messageAdded
:
(
message
:
Message
)
=>
void
message
Removed
messageRemoved
:
(
message
:
Message
)
=>
void
message
Updated
messageUpdated
:
(
data
:
{
message
:
Message
;
updateReasons
:
MessageUpdateReason
[]
}
,
)
=>
void
participant
Joined
participantJoined
:
(
participant
:
ConversationParticipant
)
=>
void
participant
Left
participantLeft
:
(
participant
:
ConversationParticipant
)
=>
void
participant
Updated
participantUpdated
:
(
data
:
{
participant
:
ConversationParticipant
;
updateReasons
:
ConversationParticipantUpdateReason
[]
;
}
,
)
=>
void
push
Notification
pushNotification
:
(
pushNotification
:
PushNotification
)
=>
void
token
About
To
Expire
tokenAboutToExpire
:
()
=>
void
token
Expired
tokenExpired
:
()
=>
void
typing
Ended
typingEnded
:
(
participant
:
ConversationParticipant
)
=>
void
typing
Started
typingStarted
:
(
participant
:
ConversationParticipant
)
=>
void
user
Subscribed
userSubscribed
:
(
user
:
ConversationsUser
)
=>
void
user
Unsubscribed
userUnsubscribed
:
(
user
:
ConversationsUser
)
=>
void
user
Updated
userUpdated
:
(
data
:
{
updateReasons
:
UserUpdateReason
[]
;
user
:
ConversationsUser
}
,
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
connection
Error
connection
State
Changed
conversation
Added
conversation
Joined
conversation
Left
conversation
Removed
conversation
Updated
init
Failed
initialized
message
Added
message
Removed
message
Updated
participant
Joined
participant
Left
participant
Updated
push
Notification
token
About
To
Expire
token
Expired
typing
Ended
typing
Started
user
Subscribed
user
Unsubscribed
user
Updated
@twilio/flex-sdk
Loading...