Message class
A class implementing IMessage.
This is used by MessageHandler.
Signature:
export declare class Message implements IMessage
Implements: IMessage
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(data) | Constructs a new instance of the Message class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
attachments? | IMessageAttachment[] | (Optional) | |
createdAt? | string | (Optional) | |
credentials? | VerifiableCredential[] | (Optional) | |
data? | any | (Optional) | |
expiresAt? | string | (Optional) | |
from? | string | (Optional) | |
id | string | ||
metaData? | IMetaData[] | (Optional) | |
presentations? | VerifiablePresentation[] | (Optional) | |
raw? | string | (Optional) | |
replyTo? | string[] | (Optional) | |
replyUrl? | string | (Optional) | |
returnRoute? | string | (Optional) | |
threadId? | string | (Optional) | |
to? | string | (Optional) | |
type | string |
Methods
Method | Modifiers | Description |
---|---|---|
addMetaData(meta) | ||
getLastMetaData() | ||
isValid() |