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 v2 API class ListMessagesResponse.
The response message for [Conversations.ListMessages][google.cloud.dialogflow.v2.Conversations.ListMessages].
Implements
IMessageListMessagesResponse, IEquatableListMessagesResponse, IDeepCloneableListMessagesResponse, IBufferMessage, IMessage, IPageResponseMessage, IEnumerableMessage, IEnumerableNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ListMessagesResponse()
public ListMessagesResponse()
ListMessagesResponse(ListMessagesResponse)
public ListMessagesResponse(ListMessagesResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListMessagesResponse |
Properties
Messages
public RepeatedField<Message> Messages { get; }
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; }
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 |