Conversation
public enum Conversation : Identifiable, Equatable, Hashable
Undocumented
-
Undocumented
Declaration
Swift
case group(Group) -
Undocumented
Declaration
Swift
case dm(Dm) -
Declaration
Swift
public static func == (lhs: Conversation, rhs: Conversation) -> Bool -
Declaration
Swift
public func hash(into hasher: inout Hasher) -
Undocumented
See moreDeclaration
Swift
public enum XMTPConversationType -
Declaration
Swift
public var id: String { get } -
Undocumented
Declaration
Swift
public var disappearingMessageSettings: DisappearingMessageSettings? { get } -
Undocumented
Declaration
Swift
public func isDisappearingMessagesEnabled() throws -> Bool -
lastMessage()AsynchronousUndocumented
Declaration
Swift
public func lastMessage() async throws -> DecodedMessage? -
Undocumented
Declaration
Swift
public func commitLogForkStatus() -> CommitLogForkStatus -
isCreator()AsynchronousUndocumented
Declaration
Swift
public func isCreator() async throws -> Bool -
members()AsynchronousUndocumented
Declaration
Swift
public func members() async throws -> [Member] -
Undocumented
Declaration
Swift
public func consentState() throws -> ConsentState -
updateConsentState(state:Asynchronous) Undocumented
Declaration
Swift
public func updateConsentState(state: ConsentState) async throws -
updateDisappearingMessageSettings(_:Asynchronous) Undocumented
Declaration
Swift
public func updateDisappearingMessageSettings( _ disappearingMessageSettings: DisappearingMessageSettings? ) async throws -
clearDisappearingMessageSettings()AsynchronousUndocumented
Declaration
Swift
public func clearDisappearingMessageSettings() async throws -
sync()AsynchronousUndocumented
Declaration
Swift
public func sync() async throws -
processMessage(messageBytes:Asynchronous) Undocumented
Declaration
Swift
public func processMessage(messageBytes: Data) async throws -> DecodedMessage? -
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 var type: XMTPConversationType { get } -
Undocumented
Declaration
Swift
public var createdAt: Date { get } -
Undocumented
Declaration
Swift
public var createdAtNs: Int64 { get } -
Undocumented
Declaration
Swift
public var lastActivityAtNs: Int64 { get } -
send(content:Asynchronousoptions: fallback: ) Undocumented
Declaration
Swift
@discardableResult public func send<T>( content: T, options: SendOptions? = nil, fallback _: String? = nil ) async throws -> String -
send(encodedContent:AsynchronousvisibilityOptions: ) Undocumented
Declaration
Swift
@discardableResult public func send( encodedContent: EncodedContent, visibilityOptions: MessageVisibilityOptions? = nil ) async throws -> String -
send(text:Asynchronousoptions: ) Undocumented
Declaration
Swift
public func send(text: String, options: SendOptions? = nil) async throws -> String -
Undocumented
Declaration
Swift
public var topic: String { get } -
Undocumented
Declaration
Swift
public func streamMessages(onClose: (() -> Void)? = nil) -> AsyncThrowingStream< DecodedMessage, Error > -
messages(limit:AsynchronousbeforeNs: afterNs: direction: deliveryStatus: excludeContentTypes: excludeSenderInboxIds: ) Undocumented
Declaration
Swift
public func messages( limit: Int? = nil, beforeNs: Int64? = nil, afterNs: Int64? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) async throws -> [DecodedMessage] -
pausedForVersion()AsynchronousUndocumented
Declaration
Swift
public func pausedForVersion() async throws -> String? -
Undocumented
Declaration
Swift
public var client: Client { get } -
messagesWithReactions(limit:AsynchronousbeforeNs: afterNs: direction: deliveryStatus: excludeContentTypes: excludeSenderInboxIds: ) Undocumented
Declaration
Swift
public func messagesWithReactions( limit: Int? = nil, beforeNs: Int64? = nil, afterNs: Int64? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) async throws -> [DecodedMessage] -
enrichedMessages(limit:AsynchronousbeforeNs: afterNs: direction: deliveryStatus: excludeContentTypes: excludeSenderInboxIds: ) Undocumented
Declaration
Swift
public func enrichedMessages( limit: Int? = nil, beforeNs: Int64? = nil, afterNs: Int64? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) async throws -> [DecodedMessageV2] -
Undocumented
Declaration
Swift
public func countMessages( beforeNs: Int64? = nil, afterNs: Int64? = nil, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) throws -> Int64 -
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 isActive() throws -> Bool -
Undocumented
Declaration
Swift
public func getLastReadTimes() throws -> [String : Int64]
Conversation Enumeration Reference