Message
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?β
optionalfrom:UserProfile
Defined in: packages/stentor-models/src/Message.ts:15
Who the message is from
to?β
optionalto: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?β
optionalresponse:ResponseOutput
Defined in: packages/stentor-models/src/Message.ts:27
Optional, more detailed information about the message
attributes?β
optionalattributes:object
Defined in: packages/stentor-models/src/Message.ts:33
Optional, additional attributes that can exist on the message.
Useful to pass additional context.