リアクションを作成してメッセージに追加します。例については、メッセージにリアクションを追加するをご覧ください。
https://www.googleapis.com/auth/chat.messages.reactions.createhttps://www.googleapis.com/auth/chat.messages.reactionshttps://www.googleapis.com/auth/chat.messageshttps://www.googleapis.com/auth/chat.import(インポート モードのスペースのみ)
HTTP リクエスト
POST https://chat.googleapis.com/v1/{parent=spaces/*/messages/*}/reactions
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
| パラメータ | |
|---|---|
parent |
必須。リアクションが作成されたメッセージ。 形式: |
リクエストの本文
リクエストの本文には Reaction のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された Reaction のインスタンスが含まれます。
認可スコープ
以下のいずれかの OAuth スコープが必要です。
https://www.googleapis.com/auth/chat.importhttps://www.googleapis.com/auth/chat.messageshttps://www.googleapis.com/auth/chat.messages.reactionshttps://www.googleapis.com/auth/chat.messages.reactions.create
詳しくは、認可ガイドをご覧ください。