Message
public struct Message
Undocumented
-
Undocumented
Declaration
Swift
public let id: MessagingObjectId
-
Undocumented
Declaration
Swift
public let created: Date
-
Undocumented
Declaration
Swift
public let sender: AccountObjectId
-
Undocumented
Declaration
Swift
public var senderAddress: Address?
-
Undocumented
Declaration
Swift
public let receiver: AccountObjectId
-
Undocumented
Declaration
Swift
public var receiverAddress: Address?
-
Undocumented
Declaration
Swift
public var message: String
-
Undocumented
Declaration
Swift
public var nonce: BigInt
-
Undocumented
Declaration
Swift
public var encrypted: Bool { get }
-
Undocumented
Declaration
Swift
public func decrypt(_ credentials: Credentials, address: Address? = nil, nonce: BigInt = CryptoUtils.generateNonce()) throws -> Message
-
Undocumented
Declaration
Swift
public func decrypt(_ keyPair: ECKeyPair, address: Address?, nonce: BigInt = CryptoUtils.generateNonce()) throws -> Message