Google Cloud Dialogflow v2 API - Class ListMessagesResponse (4.12.0)

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].

Inheritance

object > ListMessagesResponse

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

ListMessagesResponse()

public ListMessagesResponse()

ListMessagesResponse(ListMessagesResponse)

public ListMessagesResponse(ListMessagesResponse other)
Parameter
NameDescription
otherListMessagesResponse

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
TypeDescription
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
TypeDescription
string

Methods

GetEnumerator()

public IEnumerator<Message> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
TypeDescription
IEnumeratorMessage