Conversation

sealed class Conversation

Inheritors

Types

Link copied to clipboard
data class Dm(val dm: Dm) : Conversation
Link copied to clipboard
data class Group(val group: Group) : Conversation
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun members(): List<Member>
Link copied to clipboard
fun messages(limit: Int? = null, beforeNs: Long? = null, afterNs: Long? = null, direction: Message.SortDirection = Message.SortDirection.DESCENDING, deliveryStatus: Message.MessageDeliveryStatus = Message.MessageDeliveryStatus.ALL): List<DecodedMessage>
Link copied to clipboard
fun <T> prepareMessage(content: T, options: SendOptions? = null): String
Link copied to clipboard
suspend fun processMessage(messageBytes: ByteArray): Message
Link copied to clipboard
suspend fun publishMessages()
Link copied to clipboard
suspend fun send(text: String): String
suspend fun <T> send(content: T, options: SendOptions? = null): String
Link copied to clipboard
Link copied to clipboard
suspend fun sync()
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard