Skip to main content

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

PropertyModifiersTypeDescription
createdAt?Date(BETA) (Optional)
credentialsRelation<Credential[]>(BETA)
data?object | null(BETA) (Optional)
expiresAt?Date(BETA) (Optional)
from?Relation<Identifier>(BETA) (Optional)
idstring(BETA)
metaData?MetaData[] | null(BETA) (Optional)
presentationsRelation<Presentation[]>(BETA)
raw?string(BETA) (Optional)
replyTo?string[](BETA) (Optional)
replyUrl?string(BETA) (Optional)
saveDateDate(BETA)
threadId?string(BETA) (Optional)
to?Relation<Identifier>(BETA) (Optional)
typestring(BETA)
updateDateDate(BETA)

Methods

MethodModifiersDescription
setId()(BETA)
setSaveDate()(BETA)
setUpdateDate()(BETA)