File: index.md

package info (click to toggle)
golang-github-nicholas-fedor-shoutrrr 0.8.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,332 kB
  • sloc: sh: 61; makefile: 5
file content (36 lines) | stat: -rw-r--r-- 996 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Google Chat

## URL Format

Your Google Chat Incoming Webhook URL will look like this:

!!! info ""
    <https://chat.googleapis.com/v1/spaces/__`FOO`__/messages?key=__`bar`__&token=__`baz`>__

The shoutrrr service URL should look like this:

!!! info ""
    googlechat://chat.googleapis.com/v1/spaces/__`FOO`__/messages?key=__`bar`__&token=__`baz`__

In other words the incoming webhook URL with `https` replaced by `googlechat`.

Google Chat was previously known as Hangouts Chat. Using `hangouts` in
the service URL instead `googlechat` is still supported, although
deprecated.

## Creating an incoming webhook in Google Chat

1. Open the room you would like to add Shoutrrr to and open the chat
room menu.
![Screenshot 1](hangouts-1.png)

2. Then click on *Configure webhooks*.
![Screenshot 2](hangouts-2.png)

3. Name the webhook and save.
![Screenshot 3](hangouts-3.png)

4. Copy the URL.
![Screenshot 4](hangouts-4.png)

5. Format the service URL by replacing `https` with `googlechat`.