MLSConversationRepository
Functions
Link copied to clipboard
abstract suspend fun addMemberToMLSGroup(groupID: <Error class: unknown class>, userIdList: List<<Error class: unknown class>>, cipherSuite: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun commitPendingProposals(groupID: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun decryptMessage(message: ByteArray, groupID: <Error class: unknown class>): Either<CoreFailure, List<DecryptedMessageBundle>>
Link copied to clipboard
abstract suspend fun establishMLSGroup(groupID: <Error class: unknown class>, members: List<<Error class: unknown class>>, publicKeys: <Error class: unknown class>? = null, allowSkippingUsersWithoutKeyPackages: Boolean = false): Either<CoreFailure, MLSAdditionResult>
Establishes an MLS (Messaging Layer Security) group with the specified group ID and members.
Link copied to clipboard
abstract suspend fun establishMLSSubConversationGroup(groupID: <Error class: unknown class>, parentId: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun getClientIdentity(clientId: <Error class: unknown class>): Either<CoreFailure, <Error class: unknown class>?>
Link copied to clipboard
abstract suspend fun getMembersIdentities(conversationId: <Error class: unknown class>, userIds: List<<Error class: unknown class>>): Either<CoreFailure, Map<<Error class: unknown class>, List<<Error class: unknown class>>>>
Link copied to clipboard
abstract suspend fun getMLSGroupsRequiringKeyingMaterialUpdate(threshold: <Error class: unknown class>): Either<CoreFailure, List<<Error class: unknown class>>>
Link copied to clipboard
abstract suspend fun getUserIdentity(userId: <Error class: unknown class>): Either<CoreFailure, List<<Error class: unknown class>>>
Link copied to clipboard
abstract suspend fun hasEstablishedMLSGroup(groupID: <Error class: unknown class>): Either<CoreFailure, Boolean>
Link copied to clipboard
abstract suspend fun isGroupOutOfSync(groupID: <Error class: unknown class>, currentEpoch: <Error class: unknown class>): Either<CoreFailure, Boolean>
Link copied to clipboard
abstract suspend fun joinGroupByExternalCommit(groupID: <Error class: unknown class>, groupInfo: ByteArray): Either<CoreFailure, Unit>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun observeProposalTimers(): <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun removeClientsFromMLSGroup(groupID: <Error class: unknown class>, clientIdList: List<<Error class: unknown class>>): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun removeMembersFromMLSGroup(groupID: <Error class: unknown class>, userIdList: List<<Error class: unknown class>>): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun requestToJoinGroup(groupID: <Error class: unknown class>, epoch: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun rotateKeysAndMigrateConversations(clientId: <Error class: unknown class>, e2eiClient: <Error class: unknown class>, certificateChain: String, isNewClient: Boolean = false): Either<E2EIFailure, Unit>
Link copied to clipboard
abstract suspend fun setProposalTimer(timer: <Error class: unknown class>, inMemory: Boolean = false)
Link copied to clipboard
abstract suspend fun updateKeyingMaterial(groupID: <Error class: unknown class>): Either<CoreFailure, Unit>