Class ListMessagesResponse

public sealed class ListMessagesResponse : IMessage<ListMessagesResponse>, IEquatable<ListMessagesResponse>, IDeepCloneable<ListMessagesResponse>, IBufferMessage, IMessage, IPageResponse<Message>, IEnumerable<Message>, IEnumerable

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
RepeatedField<Message>

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
IEnumerator<Message>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator