@twilio/flex-sdk
    Preparing search index...

    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

    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