mirror of
https://github.com/jamf/Setup-Manager.git
synced 2026-02-03 14:13:24 +00:00
Google Chat webhook kind #14
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fraserhess on GitHub.
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:
textandthread.The
textfield supports some basic formatting: newlines, bold, italics, strikethrough, monospaced, monospaced block, bulleted list, and hyperlinks.Example curl command:
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
@fraserhess commented on GitHub:
There is also a
cardsV2option that creates richer output and experiences but the JSON is much more complexReference:
https://developers.google.com/workspace/chat/api/reference/rest/v1/cards