public sealed class ListMessagesResponse : IMessage<ListMessagesResponse>, IEquatable<ListMessagesResponse>, IDeepCloneable<ListMessagesResponse>, IBufferMessage, IMessage, IPageResponse<Message>, IEnumerable<Message>, IEnumerable
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ListMessagesResponse.
The response message for [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
Implements
IMessageListMessagesResponse, IEquatableListMessagesResponse, IDeepCloneableListMessagesResponse, IBufferMessage, IMessage, IPageResponseMessage, IEnumerableMessage, IEnumerableNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
ListMessagesResponse()
public ListMessagesResponse()
ListMessagesResponse(ListMessagesResponse)
public ListMessagesResponse(ListMessagesResponse other)
Parameter | |
---|---|
Name | Description |
other | ListMessagesResponse |
Properties
Messages
public RepeatedField<Message> Messages { get; }
Required. The list of messages. There will be a maximum number of items
returned based on the page_size field in the request.
messages
is sorted by create_time
in descending order.
Property Value | |
---|---|
Type | Description |
RepeatedFieldMessage |
NextPageToken
public string NextPageToken { get; set; }
Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
Property Value | |
---|---|
Type | Description |
string |
Methods
GetEnumerator()
public IEnumerator<Message> GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Returns | |
---|---|
Type | Description |
IEnumeratorMessage |