Reference documentation and code samples for the Google Apps Chat V1 Client class ListMessagesResponse.
Response message for listing messages.
Generated from protobuf message google.chat.v1.ListMessagesResponse
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ messages |
array<Google\Apps\Chat\V1\Message>
List of messages. |
↳ next_page_token |
string
You can send a token as |
getMessages
List of messages.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setMessages
List of messages.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Apps\Chat\V1\Message>
|
Returns | |
---|---|
Type | Description |
$this |
getNextPageToken
You can send a token as pageToken
to retrieve the next page of
results. If empty, there are no subsequent pages.
Returns | |
---|---|
Type | Description |
string |
setNextPageToken
You can send a token as pageToken
to retrieve the next page of
results. If empty, there are no subsequent pages.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |