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:
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 var type: XMTPConversationType { get }
-
Undocumented
Declaration
Swift
public var createdAt: Date { 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:
Asynchronous) Undocumented
Declaration
Swift
@discardableResult public func send( encodedContent: EncodedContent ) 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>
-
Undocumented
Declaration
Swift
public func messages( limit: Int? = nil, beforeNs: Int64? = nil, afterNs: Int64? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all ) async throws -> [DecodedMessage]
-
pausedForVersion()
AsynchronousUndocumented
Declaration
Swift
public func pausedForVersion() async throws -> String?
-
Undocumented
Declaration
Swift
public var client: Client { get }
-
Undocumented
Declaration
Swift
public func messagesWithReactions( limit: Int? = nil, beforeNs: Int64? = nil, afterNs: Int64? = 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
-
Undocumented
Declaration
Swift
public func isActive() throws -> Bool