Message class
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Represents some common properties of an IMessage that are stored in a TypeORM database for querying.
Signature:
export declare class Message extends BaseEntity
Extends: BaseEntity
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
createdAt? | Date | (BETA) (Optional) | |
credentials | Relation<Credential[]> | (BETA) | |
data? | object | null | (BETA) (Optional) | |
expiresAt? | Date | (BETA) (Optional) | |
from? | Relation<Identifier> | (BETA) (Optional) | |
id | string | (BETA) | |
metaData? | MetaData[] | null | (BETA) (Optional) | |
presentations | Relation<Presentation[]> | (BETA) | |
raw? | string | (BETA) (Optional) | |
replyTo? | string[] | (BETA) (Optional) | |
replyUrl? | string | (BETA) (Optional) | |
saveDate | Date | (BETA) | |
threadId? | string | (BETA) (Optional) | |
to? | Relation<Identifier> | (BETA) (Optional) | |
type | string | (BETA) | |
updateDate | Date | (BETA) |
Methods
Method | Modifiers | Description |
---|---|---|
setId() | (BETA) | |
setSaveDate() | (BETA) | |
setUpdateDate() | (BETA) |