@waylis/core / Message
Interface: Message
Defined in: message/message.ts:23
Represents a chat message.
Properties
body
body: MessageBody;Defined in: message/message.ts:39
Message content.
chatID
chatID: string;Defined in: message/message.ts:27
ID of the chat this message belongs to.
createdAt
createdAt: Date;Defined in: message/message.ts:43
Timestamp when the message was created.
id
id: string;Defined in: message/message.ts:25
Unique identifier of the message.
reply?
optional reply: ExpectedReply<UserMessageBodyType>;Defined in: message/message.ts:41
Restriction settings for replies, if any.
replyTo?
optional replyTo: string;Defined in: message/message.ts:31
ID of the message this one replies to, if any.
scene?
optional scene: string;Defined in: message/message.ts:35
Optional scene identifier for workflow tracking.
senderID
senderID: string;Defined in: message/message.ts:29
ID of the user who sent the message.
step?
optional step: string;Defined in: message/message.ts:37
Optional step identifier within a scene.
threadID
threadID: string;Defined in: message/message.ts:33
ID of the thread this message belongs to.