-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I'm requesting support for Google Chat webhooks as a kind. The generic messages result in an HTTP 400 error because there's only two fields supported in the payload by Google Chat: text and thread.
The text field supports some basic formatting: newlines, bold, italics, strikethrough, monospaced, monospaced block, bulleted list, and hyperlinks.
Example curl command:
curl -X POST "https://chat.googleapis.com/v1/spaces/XXXXX/messages?key=YYYYYY&token=ZZZZ" -H "Content-Type: application/json; charset=UTF-8" -d '{"text":"# Hello *team*!\nThis message was sent via curl."}'
A full URL to a test space in Google Chat can be provided privately for testing.
References:
https://developers.google.com/workspace/chat/quickstart/webhooks
https://developers.google.com/workspace/chat/format-messages
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request