Dm

class Dm(clientInboxId: String, libXMTPGroup: FfiConversation, ffiLastMessage: FfiMessage? = null)

Constructors

Link copied to clipboard
constructor(clientInboxId: String, libXMTPGroup: FfiConversation, ffiLastMessage: FfiMessage? = null)

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun creatorInboxId(): String
Link copied to clipboard
fun <T> encodeContent(content: T, options: SendOptions?): EncodedContent
Link copied to clipboard
suspend fun isCreator(): Boolean
Link copied to clipboard
suspend fun lastMessage(): Message?
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: Message.SortDirection = SortDirection.DESCENDING, deliveryStatus: Message.MessageDeliveryStatus = MessageDeliveryStatus.ALL): List<Message>
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): Message?
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
fun streamMessages(): Flow<Message>
Link copied to clipboard
suspend fun sync()
Link copied to clipboard

Properties

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