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 -
Undocumented
Declaration
Swift
public func isActive() throws -> Bool -
creatorInboxId()AsynchronousUndocumented
Declaration
Swift
public func creatorInboxId() async throws -> InboxId -
Undocumented
Declaration
Swift
public func addedByInboxId() throws -> InboxId -
membersAsynchronousUndocumented
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 } -
Undocumented
Declaration
Swift
public var createdAtNs: Int64 { get } -
Undocumented
Declaration
Swift
public var lastActivityAtNs: Int64 { 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:AsynchronousvisibilityOptions: ) Undocumented
Declaration
Swift
public func send( encodedContent: EncodedContent, visibilityOptions: MessageVisibilityOptions? = nil ) async throws -> String -
encodeContent(content:Asynchronousoptions: ) Undocumented
Declaration
Swift
public func encodeContent<T>(content: T, options: SendOptions?) async throws -> (EncodedContent, MessageVisibilityOptions) -
prepareMessage(encodedContent:AsynchronousvisibilityOptions: ) Undocumented
Declaration
Swift
public func prepareMessage( encodedContent: EncodedContent, visibilityOptions: MessageVisibilityOptions? = nil ) 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 commitLogForkStatus() -> CommitLogForkStatus -
messages(beforeNs:AsynchronousafterNs: limit: direction: deliveryStatus: excludeContentTypes: excludeSenderInboxIds: ) Undocumented
Declaration
Swift
public func messages( beforeNs: Int64? = nil, afterNs: Int64? = nil, limit: Int? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) async throws -> [DecodedMessage] -
messagesWithReactions(beforeNs:AsynchronousafterNs: limit: direction: deliveryStatus: excludeContentTypes: excludeSenderInboxIds: ) Undocumented
Declaration
Swift
public func messagesWithReactions( beforeNs: Int64? = nil, afterNs: Int64? = nil, limit: Int? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) async throws -> [DecodedMessage] -
Undocumented
Declaration
Swift
public func countMessages( beforeNs: Int64? = nil, afterNs: Int64? = nil, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) throws -> Int64 -
enrichedMessages(beforeNs:AsynchronousafterNs: limit: direction: deliveryStatus: excludeContentTypes: excludeSenderInboxIds: ) Undocumented
Declaration
Swift
public func enrichedMessages( beforeNs: Int64? = nil, afterNs: Int64? = nil, limit: Int? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) async throws -> [DecodedMessageV2] -
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 -
Undocumented
Declaration
Swift
public func getLastReadTimes() throws -> [String : Int64]
Dm Structure Reference