class Dms extends Resource (View source)

The "dms" collection of methods.

Typical usage is:

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

Methods

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

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

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

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

Details

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

Legacy path for creating message. Calling these will result in a BadRequest response. (dms.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. (dms.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