DecodedMessage
public struct DecodedMessage : Sendable
Decrypted messages from a conversation.
-
Undocumented
Declaration
Swift
public var topic: String
-
Undocumented
Declaration
Swift
public var id: String
-
Undocumented
Declaration
Swift
public var encodedContent: EncodedContent
-
The wallet address of the sender of the message
Declaration
Swift
public var senderAddress: String
-
When the message was sent
Declaration
Swift
public var sent: Date
-
Undocumented
Declaration
Swift
public var client: Client
-
Undocumented
Declaration
Swift
public init( client: Client, topic: String, encodedContent: EncodedContent, senderAddress: String, sent: Date )
-
Undocumented
Declaration
Swift
public func content<T>() throws -> T
-
Undocumented
Declaration
Swift
public var fallbackContent: String { get }
-
Undocumented
Declaration
Swift
static func preview(client: Client, topic: String, body: String, senderAddress: String, sent: Date) -> DecodedMessage