Package-level declarations

Types

Link copied to clipboard
data class ConversationAccessInfoDTO(val access: Set<ConversationAccessDTO>, val accessRole: Set<ConversationAccessRoleDTO> = ConversationAccessRoleDTO.DEFAULT_VALUE_WHEN_NULL)

Deprecation info: Since API v3 access_role_v2 is deprecated and will be replaced by access_role, but until all servers have been upgraded to have API v3 has its minimum supported version and all previously stored events have expired we need support both cases.

Link copied to clipboard

Handwritten serializer of the ConversationAccessInfoDTO because we want to extend it with the JsonCorrectingSerializer, which is not possible using the plugin generated serializer.

Link copied to clipboard
data class ConversationCodeInfo(val nonQualifiedId: String, val name: String?, val hasPassword: Boolean = false)
Link copied to clipboard
data class ConversationMemberRoleDTO(val conversationRole: String)
Link copied to clipboard
data class ConversationProtocolDTO(val protocol: ConvProtocol)
Link copied to clipboard
data class ConversationReceiptModeDTO(val receiptMode: ReceiptMode)
Link copied to clipboard

Transforms the conversation access info JSON by deleting the access_role field if it's a primitive value, because then it's a legacy field which interferes with the @JsonNames alternative name parsing.