Package-level declarations

Types

Link copied to clipboard
data class ConvoView(val id: String, val rev: String, val members: ReadOnlyList<ProfileViewBasic>, val lastMessage: ConvoViewLastMessageUnion? = null, val muted: Boolean, val opened: Boolean? = null, val unreadCount: Long)
Link copied to clipboard
Link copied to clipboard
data class DeletedMessageView(val id: String, val rev: String, val sender: MessageViewSender, val sentAt: Timestamp)
Link copied to clipboard
data class DeleteMessageForSelfRequest(val convoId: String, val messageId: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class GetConvoQueryParams(val convoId: String)
Link copied to clipboard
data class GetConvoResponse(val convo: ConvoView)
Link copied to clipboard
data class GetLogQueryParams(val cursor: String? = null)
Link copied to clipboard
data class GetLogResponse(val cursor: String? = null, val logs: ReadOnlyList<GetLogResponseLogUnion>)
Link copied to clipboard
Link copied to clipboard
data class GetMessagesQueryParams(val convoId: String, val limit: Long? = 50, val cursor: String? = null)
Link copied to clipboard
Link copied to clipboard
data class LeaveConvoRequest(val convoId: String)
Link copied to clipboard
data class LeaveConvoResponse(val convoId: String, val rev: String)
Link copied to clipboard
data class ListConvosQueryParams(val limit: Long? = 50, val cursor: String? = null)
Link copied to clipboard
data class ListConvosResponse(val cursor: String? = null, val convos: ReadOnlyList<ConvoView>)
Link copied to clipboard
data class LogBeginConvo(val rev: String, val convoId: String)
Link copied to clipboard
data class LogCreateMessage(val rev: String, val convoId: String, val message: LogCreateMessageMessageUnion)
Link copied to clipboard
Link copied to clipboard
data class LogDeleteMessage(val rev: String, val convoId: String, val message: LogDeleteMessageMessageUnion)
Link copied to clipboard
Link copied to clipboard
data class LogLeaveConvo(val rev: String, val convoId: String)
Link copied to clipboard
data class MessageInput(val text: String, val facets: ReadOnlyList<Facet> = persistentListOf(), val embed: MessageInputEmbedUnion? = null)
Link copied to clipboard
Link copied to clipboard
data class MessageRef(val did: Did, val convoId: String, val messageId: String)
Link copied to clipboard
data class MessageView(val id: String, val rev: String, val text: String, val facets: ReadOnlyList<Facet> = persistentListOf(), val embed: MessageViewEmbedUnion? = null, val sender: MessageViewSender, val sentAt: Timestamp)
Link copied to clipboard
Link copied to clipboard
data class MessageViewSender(val did: Did)
Link copied to clipboard
data class MuteConvoRequest(val convoId: String)
Link copied to clipboard
Link copied to clipboard
data class SendMessageBatchBatchItem(val convoId: String, val message: MessageInput)
Link copied to clipboard
data class SendMessageRequest(val convoId: String, val message: MessageInput)
Link copied to clipboard
Link copied to clipboard
data class UnmuteConvoRequest(val convoId: String)
Link copied to clipboard
Link copied to clipboard
data class UpdateReadRequest(val convoId: String, val messageId: String? = null)
Link copied to clipboard