public class FlowableEngageEventBuilder extends Object
public static FlowableMessageEvent createMessageSendEvent(Message message, Conversation conversation)
public static FlowableMessageEvent createBeforeMessagePersistedEvent(Message message, Conversation conversation)
public static FlowableSendNotificationEvent createSendNotificationEvent(Conversation conversation, Message message, Collection<NotificationInfo> notificationInfo)
public static FlowableSendUserTypingEvent createSendUserTypingEvent(String userId, String conversationId, Collection<String> recipients)
public static FlowableMessageReadEvent createMessageReadEvent(String userId, String conversationId, String messageId, Date messageTimestamp)
public static FlowableMessageDeletedEvent createMessageDeletedEvent(String userId, Message message)
public static FlowableMessageUpdatedEvent createMessageUpdatedEvent(String userId, Message message)
public static FlowableAddedParticipantsEvent createAddedParticipantsEvent(Conversation conversation, Collection<String> addedParticipants, String userId)
public static FlowableRemovedParticipantsEvent createRemovedParticipantsEvent(Conversation conversation, Collection<String> removedParticipants, String userId)
public static FlowableConversationStartedEvent createConversationStartedEvent(Conversation conversation)
public static FlowableConversationDeletedEvent createConversationDeletedEvent(Conversation conversation)
public static FlowableConversationArchivedEvent createConversationArchivedEvent(Conversation conversation)
public static FlowableConversationNameUpdatedEvent createConversationNameUpdatedEvent(Conversation conversation, String oldName)
public static FlowableConversationReferenceUpdatedEvent createConversationReferenceUpdatedEvent(Conversation conversation, String oldReferenceId, String oldReferenceType, String oldReferenceDefinitionId)
Copyright © 2019. All rights reserved.