The Amazon Chime SDK Identity, Media Pipelines, Meetings, and Messaging APIs are now published on the new Amazon Chime SDK API Reference. For more information, see the Amazon Chime SDK API Reference.
ChannelMessage
The details of a message in a channel.
Contents
- ChannelArn
-
The ARN of the channel.
Type: String
Length Constraints: Minimum length of 5. Maximum length of 1600.
Pattern:
arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}
Required: No
- Content
-
The message content.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 4096.
Pattern:
[\s\S]*
Required: No
- CreatedTimestamp
-
The time at which the message was created.
Type: Timestamp
Required: No
- LastEditedTimestamp
-
The time at which a message was edited.
Type: Timestamp
Required: No
- LastUpdatedTimestamp
-
The time at which a message was updated.
Type: Timestamp
Required: No
- MessageId
-
The ID of a message.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern:
[-_a-zA-Z0-9]*
Required: No
- Metadata
-
The message metadata.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 1024.
Pattern:
.*
Required: No
- Persistence
-
The persistence setting for a channel message.
Type: String
Valid Values:
PERSISTENT | NON_PERSISTENT
Required: No
- Redacted
-
Hides the content of a message.
Type: Boolean
Required: No
- Sender
-
The message sender.
Type: Identity object
Required: No
- Type
-
The message type.
Type: String
Valid Values:
STANDARD | CONTROL
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: