Ffi Conversations
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun createGroup(accountIdentities: List<FfiIdentifier>, opts: FfiCreateGroupOptions): FfiConversation
Link copied to clipboard
Link copied to clipboard
open suspend override fun createGroupWithInboxIds(inboxIds: List<String>, opts: FfiCreateGroupOptions): FfiConversation
Link copied to clipboard
open suspend override fun findOrCreateDm(targetIdentity: FfiIdentifier, opts: FfiCreateDmOptions): FfiConversation
Link copied to clipboard
open suspend override fun findOrCreateDmByInboxId(inboxId: String, opts: FfiCreateDmOptions): FfiConversation
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun processStreamedWelcomeMessage(envelopeBytes: ByteArray): List<FfiConversation>
Link copied to clipboard
Link copied to clipboard
open suspend override fun streamAllDmMessages(messageCallback: FfiMessageCallback, consentStates: List<FfiConsentState>?): FfiStreamCloser
Link copied to clipboard
open suspend override fun streamAllGroupMessages(messageCallback: FfiMessageCallback, consentStates: List<FfiConsentState>?): FfiStreamCloser
Link copied to clipboard
open suspend override fun streamAllMessages(messageCallback: FfiMessageCallback, consentStates: List<FfiConsentState>?): FfiStreamCloser
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
open suspend override fun streamMessageDeletions(callback: FfiMessageDeletionCallback): FfiStreamCloser
Get notified when a message is deleted by the disappearing messages worker. The callback receives the message ID of each deleted message.
Link copied to clipboard
open suspend override fun streamMessages(messageCallback: FfiMessageCallback, conversationType: FfiConversationType?, consentStates: List<FfiConsentState>?): 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
open suspend override fun syncAllConversations(consentStates: List<FfiConsentState>?): FfiGroupSyncSummary
Link copied to clipboard