ConversationApi

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun addMember(addParticipantRequest: <Error class: unknown class>, conversationId: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun addService(addServiceRequest: <Error class: unknown class>, conversationId: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun createNewConversation(createConversationRequest: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun createOne2OneConversation(createConversationRequest: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun deleteSubconversation(conversationId: <Error class: unknown class>, subconversationId: <Error class: unknown class>, deleteRequest: <Error class: unknown class>): NetworkResponse<Unit>
Link copied to clipboard
abstract suspend fun fetchConversationDetails(conversationId: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun fetchConversationsIds(pagingState: String?): NetworkResponse<<Error class: unknown class>>

Fetch conversations id's in a paginated fashion, including federated conversations

Link copied to clipboard
abstract suspend fun fetchConversationsListDetails(conversationsIds: List<<Error class: unknown class>>): NetworkResponse<<Error class: unknown class>>

Fetch conversations details by id's, including federated conversations

Link copied to clipboard
abstract suspend fun fetchGroupInfo(conversationId: <Error class: unknown class>): NetworkResponse<ByteArray>
Link copied to clipboard
abstract suspend fun fetchLimitedInformationViaCode(code: String, key: String): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun fetchMlsOneToOneConversation(userId: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun fetchSubconversationDetails(conversationId: <Error class: unknown class>, subconversationId: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun fetchSubconversationGroupInfo(conversationId: <Error class: unknown class>, subconversationId: <Error class: unknown class>): NetworkResponse<ByteArray>
Link copied to clipboard
abstract suspend fun generateGuestRoomLink(conversationId: <Error class: unknown class>, password: String?): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
open fun getApiNotSupportedError(apiName: String, apiVersion: Int): NetworkResponse.Error
Link copied to clipboard
abstract suspend fun guestLinkInfo(conversationId: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun joinConversation(code: String, key: String, uri: String?, password: String?): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun leaveSubconversation(conversationId: <Error class: unknown class>, subconversationId: <Error class: unknown class>): NetworkResponse<Unit>
Link copied to clipboard
abstract suspend fun removeMember(userId: <Error class: unknown class>, conversationId: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun revokeGuestRoomLink(conversationId: <Error class: unknown class>): NetworkResponse<Unit>
Link copied to clipboard
abstract suspend fun sendTypingIndicatorNotification(conversationId: <Error class: unknown class>, typingIndicatorMode: <Error class: unknown class>): NetworkResponse<Unit>
Link copied to clipboard
abstract suspend fun updateAccess(conversationId: <Error class: unknown class>, updateConversationAccessRequest: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun updateConversationMemberRole(conversationId: <Error class: unknown class>, userId: <Error class: unknown class>, conversationMemberRoleDTO: <Error class: unknown class>): NetworkResponse<Unit>
Link copied to clipboard
abstract suspend fun updateConversationMemberState(memberUpdateRequest: <Error class: unknown class>, conversationId: <Error class: unknown class>): NetworkResponse<Unit>
Link copied to clipboard
abstract suspend fun updateConversationName(conversationId: <Error class: unknown class>, conversationName: String): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun updateMessageTimer(conversationId: <Error class: unknown class>, messageTimer: Long?): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun updateProtocol(conversationId: <Error class: unknown class>, protocol: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun updateReceiptMode(conversationId: <Error class: unknown class>, receiptMode: <Error class: unknown class>): NetworkResponse<<Error class: unknown class>>