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 x-amz-chime-bearer request header is mandatory. Use the
This API is is no longer supported and will not be updated. We recommend using
the latest version, ListChannelMessages,
in the Amazon Chime SDK.
Using the latest version requires migrating to a dedicated namespace. For more information,
refer to Migrating
from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide.
ChannelMessages
.
By default, sorted by creation timestamp in descending order.
AppInstanceUserArn
of the user that makes the API call as the value in the header.
Namespace: Amazon.Chime.Model
Assembly: AWSSDK.Chime.dll
Version: 3.x.y.z
public class ListChannelMessagesRequest : AmazonChimeRequest 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 |
|
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.Chime.SortOrder |
Gets and sets the property SortOrder. The order in which you want messages sorted. Default is Descending, based on time created. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5