Method: spaces.messages.get

Returns a message.

HTTP request

GET https://chat.googleapis.com/v1/{name=spaces/*/messages/*}

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
name

string

Required. Resource name of the message to be retrieved, in the form "spaces/*/messages/*".

Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Message.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/chat.bot

For more information, see the Auth Guide.

Enviar comentários sobre…

Precisa de ajuda? Acesse nossa página de suporte.