AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.ChimeSDKMessaging.Model.ChannelMessage

Namespace: Amazon.ChimeSDKMessaging.Model
Assembly: AWSSDK.ChimeSDKMessaging.dll
Version: 3.x.y.z

Syntax

C#
public class ChannelMessage

The ChannelMessage type exposes the following members

Constructors

NameDescription
Public Method ChannelMessage()

Properties

NameTypeDescription
Public Property ChannelArn System.String

Gets and sets the property ChannelArn.

The ARN of the channel.

Public Property 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.

Public Property 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 application/amz-chime-lex-msgs for success responses and application/amz-chime-lex-error for failure responses. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

Public Property CreatedTimestamp System.DateTime

Gets and sets the property CreatedTimestamp.

The time at which the message was created.

Public Property LastEditedTimestamp System.DateTime

Gets and sets the property LastEditedTimestamp.

The time at which a message was edited.

Public Property LastUpdatedTimestamp System.DateTime

Gets and sets the property LastUpdatedTimestamp.

The time at which a message was updated.

Public Property 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.

Public Property MessageId System.String

Gets and sets the property MessageId.

The ID of a message.

Public Property Metadata System.String

Gets and sets the property Metadata.

The message metadata.

Public Property Persistence Amazon.ChimeSDKMessaging.ChannelMessagePersistenceType

Gets and sets the property Persistence.

The persistence setting for a channel message.

Public Property Redacted System.Boolean

Gets and sets the property Redacted.

Hides the content of a message.

Public Property Sender Amazon.ChimeSDKMessaging.Model.Identity

Gets and sets the property Sender.

The message sender.

Public Property Status Amazon.ChimeSDKMessaging.Model.ChannelMessageStatusStructure

Gets and sets the property Status.

The status of the channel message.

Public Property SubChannelId System.String

Gets and sets the property SubChannelId.

The ID of the SubChannel.

Public Property 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.

Public Property Type Amazon.ChimeSDKMessaging.ChannelMessageType

Gets and sets the property Type.

The message type.

Version Information

.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