Conversations
public actor Conversations
Handles listing and creating Conversations.
-
Import a previously seen conversation. See Conversation.toTopicData()
Declaration
Swift
public func importTopicData(data: Xmtp_KeystoreApi_V1_TopicMap.TopicData) -> Conversation
-
listBatchMessages(topics:
Asynchronous) Undocumented
Declaration
Swift
public func listBatchMessages(topics: [String : Pagination?]) async throws -> [DecodedMessage]
-
listBatchDecryptedMessages(topics:
Asynchronous) Undocumented
Declaration
Swift
public func listBatchDecryptedMessages(topics: [String : Pagination?]) async throws -> [DecryptedMessage]
-
streamAllMessages()
AsynchronousUndocumented
Declaration
Swift
public func streamAllMessages() async throws -> AsyncThrowingStream<DecodedMessage, Error>
-
streamAllDecryptedMessages()
AsynchronousUndocumented
Declaration
Swift
public func streamAllDecryptedMessages() async throws -> AsyncThrowingStream<DecryptedMessage, Error>
-
Undocumented
Declaration
Swift
public func fromInvite(envelope: Envelope) throws -> Conversation
-
Undocumented
Declaration
Swift
public func fromIntro(envelope: Envelope) throws -> Conversation
-
newConversation(with:
Asynchronouscontext: ) Undocumented
Declaration
Swift
public func newConversation(with peerAddress: String, context: InvitationV1.Context? = nil) async throws -> Conversation
-
Undocumented
Declaration
Swift
public func stream() -> AsyncThrowingStream<Conversation, Error>
-
list()
AsynchronousUndocumented
Declaration
Swift
public func list() async throws -> [Conversation]