View a markdown version of this page

ChatMessage - AWS Assurance

ChatMessage

A single message in a chat session.

Contents

author

The principal that authored the message.

Type: String

Valid Values: user | agent

Required: Yes

content

The message text content.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100000.

Required: Yes

createdAt

The timestamp when the message was created.

Type: Timestamp

Required: Yes

sequenceNumber

The position of this message in the session's sequence.

Type: Long

Valid Range: Minimum value of 0.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: