ProteusMessageUnpackerImpl

internal class ProteusMessageUnpackerImpl(proteusClientProvider: ProteusClientProvider, selfUserId: <Error class: unknown class>, protoContentMapper: ProtoContentMapper = MapperProvider.protoContentMapper(selfUserId = selfUserId), idMapper: IdMapper = MapperProvider.idMapper()) : ProteusMessageUnpacker

Constructors

Link copied to clipboard
constructor(proteusClientProvider: ProteusClientProvider, selfUserId: <Error class: unknown class>, protoContentMapper: ProtoContentMapper = MapperProvider.protoContentMapper(selfUserId = selfUserId), idMapper: IdMapper = MapperProvider.idMapper())

Functions

Link copied to clipboard
open suspend override fun <T : Any> unpackProteusMessage(event: Event.Conversation.NewMessage, handleMessage: suspend (applicationMessage: MessageUnpackResult.ApplicationMessage) -> T): Either<CoreFailure, T>