Skip to content

Google Chat webhook kind #175

@fraserhess

Description

@fraserhess

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

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions