Google Apps Chat V1 Client - Class SearchMessagesResponse (0.27.0)

Reference documentation and code samples for the Google Apps Chat V1 Client class SearchMessagesResponse.

Response message for searching messages.

Generated from protobuf message google.chat.v1.SearchMessagesResponse

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ results array<SearchMessageResult>

The list of search results that matched the query.

↳ next_page_token string

A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages.

getResults

The list of search results that matched the query.

Returns
Type Description
Google\Protobuf\RepeatedField<SearchMessageResult>

setResults

The list of search results that matched the query.

Parameter
Name Description
var array<SearchMessageResult>
Returns
Type Description
$this

getNextPageToken

A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this