AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The details of a message in a channel.
Namespace: Amazon.ChimeSDKMessaging.Model
Assembly: AWSSDK.ChimeSDKMessaging.dll
Version: 3.x.y.z
public class ChannelMessage
The ChannelMessage type exposes the following members
Name | Description | |
---|---|---|
ChannelMessage() |
Name | Type | Description | |
---|---|---|---|
ChannelArn | System.String |
Gets and sets the property ChannelArn. The ARN of the channel. |
|
Content | System.String |
Gets and sets the property Content. The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide. |
|
ContentType | System.String |
Gets and sets the property ContentType.
The content type of the channel message. For Amazon Lex V2 bot responses, the content
type is |
|
CreatedTimestamp | System.DateTime |
Gets and sets the property CreatedTimestamp. The time at which the message was created. |
|
LastEditedTimestamp | System.DateTime |
Gets and sets the property LastEditedTimestamp. The time at which a message was edited. |
|
LastUpdatedTimestamp | System.DateTime |
Gets and sets the property LastUpdatedTimestamp. The time at which a message was updated. |
|
MessageAttributes | System.Collections.Generic.Dictionary<System.String, Amazon.ChimeSDKMessaging.Model.MessageAttributeValue> |
Gets and sets the property MessageAttributes. The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide. |
|
MessageId | System.String |
Gets and sets the property MessageId. The ID of a message. |
|
Metadata | System.String |
Gets and sets the property Metadata. The message metadata. |
|
Persistence | Amazon.ChimeSDKMessaging.ChannelMessagePersistenceType |
Gets and sets the property Persistence. The persistence setting for a channel message. |
|
Redacted | System.Boolean |
Gets and sets the property Redacted. Hides the content of a message. |
|
Sender | Amazon.ChimeSDKMessaging.Model.Identity |
Gets and sets the property Sender. The message sender. |
|
Status | Amazon.ChimeSDKMessaging.Model.ChannelMessageStatusStructure |
Gets and sets the property Status. The status of the channel message. |
|
SubChannelId | System.String |
Gets and sets the property SubChannelId. The ID of the SubChannel. |
|
Target | System.Collections.Generic.List<Amazon.ChimeSDKMessaging.Model.Target> |
Gets and sets the property Target. The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see. |
|
Type | Amazon.ChimeSDKMessaging.ChannelMessageType |
Gets and sets the property Type. The message type. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5