FfiConversationsInterface

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun createDm(accountAddress: String): FfiConversation
Link copied to clipboard
abstract suspend fun createDmWithInboxId(inboxId: String): FfiConversation
Link copied to clipboard
abstract suspend fun createGroup(accountAddresses: List<String>, opts: FfiCreateGroupOptions): FfiConversation
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun processStreamedWelcomeMessage(envelopeBytes: ByteArray): FfiConversation
Link copied to clipboard
abstract suspend fun stream(callback: FfiConversationCallback): FfiStreamCloser
Link copied to clipboard
abstract suspend fun streamAllDmMessages(messageCallback: FfiMessageCallback): FfiStreamCloser
Link copied to clipboard
abstract suspend fun streamAllGroupMessages(messageCallback: FfiMessageCallback): FfiStreamCloser
Link copied to clipboard
abstract suspend fun streamAllMessages(messageCallback: FfiMessageCallback): FfiStreamCloser
Link copied to clipboard
abstract suspend fun streamConsent(callback: FfiConsentCallback): FfiStreamCloser

Get notified when there is a new consent update either locally or is synced from another device allowing the user to re-render the new state appropriately

Link copied to clipboard
abstract suspend fun streamDms(callback: FfiConversationCallback): FfiStreamCloser
Link copied to clipboard
abstract suspend fun streamGroups(callback: FfiConversationCallback): FfiStreamCloser
Link copied to clipboard
abstract suspend fun streamMessages(messageCallback: FfiMessageCallback, conversationType: FfiConversationType?): FfiStreamCloser
Link copied to clipboard

Get notified when a preference changes either locally or is synced from another device allowing the user to re-render the new state appropriately.

Link copied to clipboard
abstract suspend fun sync()
Link copied to clipboard
abstract suspend fun syncAllConversations(consentStates: List<FfiConsentState>?): UInt