v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1330180264.7 KB
spaces

Creates a reaction and adds it to a message. For an example, see Add a reaction to a message. Requires user authentication with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.messages.reactions.create - https://www.googleapis.com/auth/chat.messages.reactions - https://www.googleapis.com/auth/chat.messages - https://www.googleapis.com/auth/chat.import (import mode spaces only)

post/v1/{+parent}/reactions

Path parameters

parentstring required

Required. The message where the reaction is created. Format: spaces/{space}/messages/{message}

Request body

namestring

Identifier. The resource name of the reaction. Format: spaces/{space}/messages/{message}/reactions/{reaction}

Response

Successful response