PreKeyApiV3
internal open class PreKeyApiV3(authenticatedNetworkClient: AuthenticatedNetworkClient) : PreKeyApiV2
Inheritors
Functions
Link copied to clipboard
Retrieves the IDs of the prekeys currently available in the backend for the provided clientId.
Link copied to clipboard
open suspend override fun getUsersPreKey(users: Map<String, Map<String, List<String>>>): NetworkResponse<ListPrekeysResponse>
Link copied to clipboard
open suspend override fun uploadNewPrekeys(clientId: String, preKeys: List<<Error class: unknown class>>): NetworkResponse<Unit>
Uploads more prekeys to be associated with the provided clientId, which can be used by other users to start conversations with the client.