Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Message

Index

Constructors

constructor

Properties

encrypted

encrypted: boolean

message

message: string

nonce

nonce: Long = Long.ZERO

operationId

operationId: ChainObject

receiver

receiver: ChainObject

Optional receiverAddress

receiverAddress: Address

sender

sender: ChainObject

Optional senderAddress

senderAddress: Address

timestamp

timestamp: Moment

Methods

decrypt

  • Decrypt the message with given credentials

    Parameters

    Returns Message

    decrypted message or unchanged message if unable to decrypt with credentials, check the [encrypted] field

Private decryptOrNull

Static create

Generated using TypeDoc