EventMapper

class EventMapper(memberMapper: MemberMapper, connectionMapper: ConnectionMapper, featureConfigMapper: FeatureConfigMapper, roleMapper: ConversationRoleMapper, selfUserId: <Error class: unknown class>, receiptModeMapper: ReceiptModeMapper = MapperProvider.receiptModeMapper(), clientMapper: ClientMapper = MapperProvider.clientMapper(), qualifiedIdMapper: QualifiedIdMapper = MapperProvider.qualifiedIdMapper(selfUserId), conversationMapper: ConversationMapper = MapperProvider.conversationMapper(selfUserId))

Constructors

Link copied to clipboard
constructor(memberMapper: MemberMapper, connectionMapper: ConnectionMapper, featureConfigMapper: FeatureConfigMapper, roleMapper: ConversationRoleMapper, selfUserId: <Error class: unknown class>, receiptModeMapper: ReceiptModeMapper = MapperProvider.receiptModeMapper(), clientMapper: ClientMapper = MapperProvider.clientMapper(), qualifiedIdMapper: QualifiedIdMapper = MapperProvider.qualifiedIdMapper(selfUserId), conversationMapper: ConversationMapper = MapperProvider.conversationMapper(selfUserId))

Functions

Link copied to clipboard
fun conversationMemberJoin(id: String, eventContentDTO: <Error class: unknown class>): Event.Conversation.MemberJoin
Link copied to clipboard
fun conversationMemberLeave(id: String, eventContentDTO: <Error class: unknown class>): Event.Conversation.MemberLeave
Link copied to clipboard
fun conversationMessageTimerUpdate(id: String, eventContentDTO: <Error class: unknown class>): Event.Conversation.ConversationMessageTimer
Link copied to clipboard
fun conversationRenamed(id: String, event: <Error class: unknown class>): Event.Conversation.RenamedConversation
Link copied to clipboard
fun fromDTO(eventResponse: <Error class: unknown class>, isLive: Boolean): List<EventEnvelope>
Link copied to clipboard
fun fromEventContentDTO(id: String, eventContentDTO: <Error class: unknown class>): Event
Link copied to clipboard
internal fun legalHoldDisabled(id: String, eventContentDTO: <Error class: unknown class>): Event.User.LegalHoldDisabled
Link copied to clipboard
internal fun legalHoldEnabled(id: String, eventContentDTO: <Error class: unknown class>): Event.User.LegalHoldEnabled
Link copied to clipboard
internal fun legalHoldRequest(id: String, eventContentDTO: <Error class: unknown class>): Event.User.LegalHoldRequest
Link copied to clipboard
fun unknown(id: String, eventContentDTO: <Error class: unknown class>, cause: String? = null): Event.Unknown