class Rooms extends Resource (View source)

The "rooms" collection of methods.

Typical usage is:

 $chatService = new Google\Service\HangoutsChat(...);
 $rooms = $chatService->rooms;

Methods

messages(string $parent, Message $postBody, array $optParams = [])

Legacy path for creating message. Calling these will result in a BadRequest response. (rooms.messages)

webhooks(string $parent, Message $postBody, array $optParams = [])

Legacy path for creating message. Calling these will result in a BadRequest response. (rooms.webhooks)

Details

Message messages(string $parent, Message $postBody, array $optParams = [])

Legacy path for creating message. Calling these will result in a BadRequest response. (rooms.messages)

Parameters

string $parent

Required. The resource name of the space in which to create a message. Format: spaces/{space}

Message $postBody
array $optParams

Optional parameters.

Return Value

Message

Message webhooks(string $parent, Message $postBody, array $optParams = [])

Legacy path for creating message. Calling these will result in a BadRequest response. (rooms.webhooks)

Parameters

string $parent

Required. The resource name of the space in which to create a message. Format: spaces/{space}

Message $postBody
array $optParams

Optional parameters.

Return Value

Message