FfiConversationsProtocol
public protocol FfiConversationsProtocol : AnyObject, Sendable
Undocumented
-
createGroup(accountIdentities:Asynchronousopts: ) Undocumented
Declaration
Swift
func createGroup(accountIdentities: [FfiIdentifier], opts: FfiCreateGroupOptions) async throws -> FfiConversation -
Undocumented
Declaration
Swift
func createGroupOptimistic(opts: FfiCreateGroupOptions) throws -> FfiConversation -
createGroupWithInboxIds(inboxIds:Asynchronousopts: ) Undocumented
Declaration
Swift
func createGroupWithInboxIds(inboxIds: [String], opts: FfiCreateGroupOptions) async throws -> FfiConversation -
findOrCreateDm(targetIdentity:Asynchronousopts: ) Undocumented
Declaration
Swift
func findOrCreateDm(targetIdentity: FfiIdentifier, opts: FfiCreateDmOptions) async throws -> FfiConversation -
findOrCreateDmByInboxId(inboxId:Asynchronousopts: ) Undocumented
Declaration
Swift
func findOrCreateDmByInboxId(inboxId: String, opts: FfiCreateDmOptions) async throws -> FfiConversation -
Undocumented
Declaration
Swift
func getHmacKeys() throws -> [Data : [FfiHmacKey]] -
Undocumented
Declaration
Swift
func list(opts: FfiListConversationsOptions) throws -> [FfiConversationListItem] -
Undocumented
Declaration
Swift
func listDms(opts: FfiListConversationsOptions) throws -> [FfiConversationListItem] -
Undocumented
Declaration
Swift
func listGroups(opts: FfiListConversationsOptions) throws -> [FfiConversationListItem] -
processStreamedWelcomeMessage(envelopeBytes:Asynchronous) Undocumented
Declaration
Swift
func processStreamedWelcomeMessage(envelopeBytes: Data) async throws -> FfiConversation -
stream(callback:Asynchronous) Undocumented
Declaration
Swift
func stream(callback: FfiConversationCallback) async -> FfiStreamCloser -
streamAllDmMessages(messageCallback:AsynchronousconsentStates: ) Undocumented
Declaration
Swift
func streamAllDmMessages(messageCallback: FfiMessageCallback, consentStates: [FfiConsentState]?) async -> FfiStreamCloser -
Undocumented
Declaration
Swift
func streamAllGroupMessages(messageCallback: FfiMessageCallback, consentStates: [FfiConsentState]?) async -> FfiStreamCloser -
streamAllMessages(messageCallback:AsynchronousconsentStates: ) Undocumented
Declaration
Swift
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
func streamConsent(callback: FfiConsentCallback) async -> FfiStreamCloser -
streamDms(callback:Asynchronous) Undocumented
Declaration
Swift
func streamDms(callback: FfiConversationCallback) async -> FfiStreamCloser -
streamGroups(callback:Asynchronous) Undocumented
Declaration
Swift
func streamGroups(callback: FfiConversationCallback) async -> FfiStreamCloser -
Undocumented
Declaration
Swift
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
func streamPreferences(callback: FfiPreferenceCallback) async -> FfiStreamCloser -
sync()AsynchronousUndocumented
Declaration
Swift
func sync() async throws -
syncAllConversations(consentStates:Asynchronous) Undocumented
Declaration
Swift
func syncAllConversations(consentStates: [FfiConsentState]?) async throws -> UInt32
FfiConversationsProtocol Protocol Reference