Dm

data class Dm(val dm: Dm) : Conversation

Constructors

Link copied to clipboard
constructor(dm: Dm)

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun lastMessage(): DecodedMessage?
Link copied to clipboard
suspend fun members(): List<Member>
Link copied to clipboard
suspend fun messages(limit: Int? = null, beforeNs: Long? = null, afterNs: Long? = null, direction: DecodedMessage.SortDirection = DecodedMessage.SortDirection.DESCENDING, deliveryStatus: DecodedMessage.MessageDeliveryStatus = DecodedMessage.MessageDeliveryStatus.ALL): List<DecodedMessage>
Link copied to clipboard
suspend fun messagesWithReactions(limit: Int? = null, beforeNs: Long? = null, afterNs: Long? = null, direction: DecodedMessage.SortDirection = DecodedMessage.SortDirection.DESCENDING, deliveryStatus: DecodedMessage.MessageDeliveryStatus = DecodedMessage.MessageDeliveryStatus.ALL): List<DecodedMessage>
Link copied to clipboard
Link copied to clipboard
fun prepareMessage(encodedContent: EncodedContent): String
fun <T> prepareMessage(content: T, options: SendOptions? = null): String
Link copied to clipboard
suspend fun processMessage(messageBytes: ByteArray): DecodedMessage?
Link copied to clipboard
suspend fun publishMessages()
Link copied to clipboard
suspend fun send(text: String): String
suspend fun send(encodedContent: EncodedContent): 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
Link copied to clipboard
suspend fun updateDisappearingMessageSettings(disappearingMessageSettings: DisappearingMessageSettings?)

Properties

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