Skip to main content

Message

Stentor API Reference


Stentor API Reference / stentor-models/src / Message

Interface: Message

Defined in: packages/stentor-models/src/Message.ts:7

Properties​

createdTime​

createdTime: string

Defined in: packages/stentor-models/src/Message.ts:11

The time the message was created


from?​

optional from: UserProfile

Defined in: packages/stentor-models/src/Message.ts:15

Who the message is from


to?​

optional to: UserProfile[]

Defined in: packages/stentor-models/src/Message.ts:19

Who the message is two, it can be to multiple recipients.


message​

message: string

Defined in: packages/stentor-models/src/Message.ts:23

A simple version of the message. It will not include displays or SSML if the original message includes it.


response?​

optional response: ResponseOutput

Defined in: packages/stentor-models/src/Message.ts:27

Optional, more detailed information about the message


attributes?​

optional attributes: object

Defined in: packages/stentor-models/src/Message.ts:33

Optional, additional attributes that can exist on the message.

Useful to pass additional context.