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.
Container for the parameters to the ListChannelMessages operation.
List all the messages in a channel. Returns a paginated list of
Redacted messages appear in the results as empty, since they are only redacted, not
deleted. Deleted messages do not appear in the results. This action always returns
the latest version of an edited message.
Also, the ChannelMessages
.
By default, sorted by creation timestamp in descending order.
x-amz-chime-bearer
request header is mandatory. Use the ARN of the
AppInstanceUser
or AppInstanceBot
that makes the API call as the value
in the header.
Namespace: Amazon.ChimeSDKMessaging.Model
Assembly: AWSSDK.ChimeSDKMessaging.dll
Version: 3.x.y.z
public class ListChannelMessagesRequest : AmazonChimeSDKMessagingRequest IAmazonWebServiceRequest
The ListChannelMessagesRequest type exposes the following members
Name | Description | |
---|---|---|
ListChannelMessagesRequest() |
Name | Type | Description | |
---|---|---|---|
ChannelArn | System.String |
Gets and sets the property ChannelArn. The ARN of the channel. |
|
ChimeBearer | System.String |
Gets and sets the property ChimeBearer.
The ARN of the |
|
MaxResults | System.Int32 |
Gets and sets the property MaxResults. The maximum number of messages that you want returned. |
|
NextToken | System.String |
Gets and sets the property NextToken. The token passed by previous API calls until all requested messages are returned. |
|
NotAfter | System.DateTime |
Gets and sets the property NotAfter. The final or ending time stamp for your requested messages. |
|
NotBefore | System.DateTime |
Gets and sets the property NotBefore. The initial or starting time stamp for your requested messages. |
|
SortOrder | Amazon.ChimeSDKMessaging.SortOrder |
Gets and sets the property SortOrder. The order in which you want messages sorted. Default is Descending, based on time created. |
|
SubChannelId | System.String |
Gets and sets the property SubChannelId. The ID of the SubChannel in the request. Only required when listing the messages in a SubChannel that the user belongs to. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5