The Forget object

The forget object inherits from the Message object's structure as follows:

// Message info
channel:
time:
type:

// Sender info
chain:
sender:

// Content
hash_type:
item_content:
  reason:
  hashes
item_hash:
item_type:

channel - text

Channel of the message. Ideally, an application would decide and use one channel.

time - float

Unix timestamp when the message was published (in seconds).

type - text

Text representing the message object type. The value is FORGET

chain - text

The chain used by the sender's account.

sender - text

Chain address who sent and is signing the Post Message.

hash_type - optional text

Defaults to sha256. This is the only supported value for now.

item_content - JSON text

JSON string representing the content of the aggregate.

item_content.reason - string

A description of why the messages are being forgotten.

item_content.hashes - list of strings

List of message item hashes to be removed.

item_hash - hash

The hash of the item_content encrypted with SHA256.

item_type - optional text

ipfs, inline or storage

Last updated