Dm
public struct Dm : Identifiable, Equatable, Hashable
Undocumented
-
Undocumented
See moreDeclaration
Swift
public enum ConversationError : Error, CustomStringConvertible, LocalizedError
-
Declaration
Swift
public var id: String { get }
-
Undocumented
Declaration
Swift
public var topic: String { get }
-
Undocumented
Declaration
Swift
public var disappearingMessageSettings: DisappearingMessageSettings? { get }
-
Undocumented
Declaration
Swift
public func isDisappearingMessagesEnabled() throws -> Bool
-
sync()
AsynchronousUndocumented
Declaration
Swift
public func sync() async throws
-
Declaration
Swift
public static func == (lhs: Dm, rhs: Dm) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
isCreator()
AsynchronousUndocumented
Declaration
Swift
public func isCreator() async throws -> Bool
-
creatorInboxId()
AsynchronousUndocumented
Declaration
Swift
public func creatorInboxId() async throws -> InboxId
-
Undocumented
Declaration
Swift
public func addedByInboxId() throws -> InboxId
-
members
AsynchronousUndocumented
Declaration
Swift
public var members: [Member] { get async throws }
-
Undocumented
Declaration
Swift
public var peerInboxId: InboxId { get throws }
-
Undocumented
Declaration
Swift
public var createdAt: Date { get }
-
updateConsentState(state:
Asynchronous) Undocumented
Declaration
Swift
public func updateConsentState(state: ConsentState) async throws
-
Undocumented
Declaration
Swift
public func consentState() throws -> ConsentState
-
updateDisappearingMessageSettings(_:
Asynchronous) Undocumented
Declaration
Swift
public func updateDisappearingMessageSettings( _ disappearingMessageSettings: DisappearingMessageSettings? ) async throws
-
clearDisappearingMessageSettings()
AsynchronousUndocumented
Declaration
Swift
public func clearDisappearingMessageSettings() async throws
-
Undocumented
Declaration
Swift
public func pausedForVersion() throws -> String?
-
processMessage(messageBytes:
Asynchronous) Undocumented
Declaration
Swift
public func processMessage(messageBytes: Data) async throws -> DecodedMessage?
-
send(content:
Asynchronousoptions: ) Undocumented
Declaration
Swift
public func send<T>(content: T, options: SendOptions? = nil) async throws -> String
-
send(encodedContent:
Asynchronous) Undocumented
Declaration
Swift
public func send(encodedContent: EncodedContent) async throws -> String
-
encodeContent(content:
Asynchronousoptions: ) Undocumented
Declaration
Swift
public func encodeContent<T>(content: T, options: SendOptions?) async throws -> EncodedContent
-
prepareMessage(encodedContent:
Asynchronous) Undocumented
Declaration
Swift
public func prepareMessage(encodedContent: EncodedContent) async throws -> String
-
prepareMessage(content:
Asynchronousoptions: ) Undocumented
Declaration
Swift
public func prepareMessage<T>(content: T, options: SendOptions? = nil) async throws -> String
-
publishMessages()
AsynchronousUndocumented
Declaration
Swift
public func publishMessages() async throws
-
Undocumented
Declaration
Swift
public func endStream()
-
Undocumented
Declaration
Swift
public func streamMessages(onClose: (() -> Void)? = nil) -> AsyncThrowingStream<DecodedMessage, Error>
-
lastMessage()
AsynchronousUndocumented
Declaration
Swift
public func lastMessage() async throws -> DecodedMessage?
-
Undocumented
Declaration
Swift
public func messages( beforeNs: Int64? = nil, afterNs: Int64? = nil, limit: Int? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all ) async throws -> [DecodedMessage]
-
Undocumented
Declaration
Swift
public func messagesWithReactions( beforeNs: Int64? = nil, afterNs: Int64? = nil, limit: Int? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all ) async throws -> [DecodedMessage]
-
Undocumented
Declaration
Swift
public func getHmacKeys() throws -> Xmtp_KeystoreApi_V1_GetConversationHmacKeysResponse
-
getPushTopics()
AsynchronousUndocumented
Declaration
Swift
public func getPushTopics() async throws -> [String]
-
getDebugInformation()
AsynchronousUndocumented
Declaration
Swift
public func getDebugInformation() async throws -> ConversationDebugInfo