FfiConversations
open class FfiConversations : FfiConversationsProtocol, @unchecked Sendable
Undocumented
-
createGroup(accountIdentities:
Asynchronousopts: ) Undocumented
Declaration
Swift
open func createGroup(accountIdentities: [FfiIdentifier], opts: FfiCreateGroupOptions) async throws -> FfiConversation
-
Undocumented
Declaration
Swift
open func createGroupOptimistic(opts: FfiCreateGroupOptions) throws -> FfiConversation
-
createGroupWithInboxIds(inboxIds:
Asynchronousopts: ) Undocumented
Declaration
Swift
open func createGroupWithInboxIds(inboxIds: [String], opts: FfiCreateGroupOptions) async throws -> FfiConversation
-
findOrCreateDm(targetIdentity:
Asynchronousopts: ) Undocumented
Declaration
Swift
open func findOrCreateDm(targetIdentity: FfiIdentifier, opts: FfiCreateDmOptions) async throws -> FfiConversation
-
findOrCreateDmByInboxId(inboxId:
Asynchronousopts: ) Undocumented
Declaration
Swift
open func findOrCreateDmByInboxId(inboxId: String, opts: FfiCreateDmOptions) async throws -> FfiConversation
-
Undocumented
Declaration
Swift
open func getHmacKeys() throws -> [Data : [FfiHmacKey]]
-
Undocumented
Declaration
Swift
open func list(opts: FfiListConversationsOptions) throws -> [FfiConversationListItem]
-
Undocumented
Declaration
Swift
open func listDms(opts: FfiListConversationsOptions) throws -> [FfiConversationListItem]
-
Undocumented
Declaration
Swift
open func listGroups(opts: FfiListConversationsOptions) throws -> [FfiConversationListItem]
-
processStreamedWelcomeMessage(envelopeBytes:
Asynchronous) Undocumented
Declaration
Swift
open func processStreamedWelcomeMessage(envelopeBytes: Data) async throws -> FfiConversation
-
stream(callback:
Asynchronous) Undocumented
Declaration
Swift
open func stream(callback: FfiConversationCallback) async -> FfiStreamCloser
-
streamAllDmMessages(messageCallback:
AsynchronousconsentStates: ) Undocumented
Declaration
Swift
open func streamAllDmMessages(messageCallback: FfiMessageCallback, consentStates: [FfiConsentState]?) async -> FfiStreamCloser
-
Undocumented
Declaration
Swift
open func streamAllGroupMessages(messageCallback: FfiMessageCallback, consentStates: [FfiConsentState]?) async -> FfiStreamCloser
-
streamAllMessages(messageCallback:
AsynchronousconsentStates: ) Undocumented
Declaration
Swift
open func streamAllMessages(messageCallback: FfiMessageCallback, consentStates: [FfiConsentState]?) async -> FfiStreamCloser
-
streamConsent(callback:
Asynchronous) 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
Declaration
Swift
open func streamConsent(callback: FfiConsentCallback) async -> FfiStreamCloser
-
streamDms(callback:
Asynchronous) Undocumented
Declaration
Swift
open func streamDms(callback: FfiConversationCallback) async -> FfiStreamCloser
-
streamGroups(callback:
Asynchronous) Undocumented
Declaration
Swift
open func streamGroups(callback: FfiConversationCallback) async -> FfiStreamCloser
-
Undocumented
Declaration
Swift
open func streamMessages(messageCallback: FfiMessageCallback, conversationType: FfiConversationType?, consentStates: [FfiConsentState]?) async -> FfiStreamCloser
-
streamPreferences(callback:
Asynchronous) Get notified when a preference changes either locally or is synced from another device allowing the user to re-render the new state appropriately.
Declaration
Swift
open func streamPreferences(callback: FfiPreferenceCallback) async -> FfiStreamCloser
-
sync()
AsynchronousUndocumented
Declaration
Swift
open func sync() async throws
-
syncAllConversations(consentStates:
Asynchronous) Undocumented
Declaration
Swift
open func syncAllConversations(consentStates: [FfiConsentState]?) async throws -> UInt32