Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
mysite/interpreter/google_chat.py
CHANGED
@@ -32,7 +32,21 @@ def send_google_chat_card(webhook_url, title, subtitle, link_text, link_url,imag
|
|
32 |
"textParagraph": {
|
33 |
"text": "<b>{}</b>".format(link_text)
|
34 |
}
|
35 |
-
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
]
|
37 |
}
|
38 |
]
|
|
|
32 |
"textParagraph": {
|
33 |
"text": "<b>{}</b>".format(link_text)
|
34 |
}
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"buttons": [
|
38 |
+
{
|
39 |
+
"textButton": {
|
40 |
+
"text": "Open Link",
|
41 |
+
"onClick": {
|
42 |
+
"openLink": {
|
43 |
+
"url": link_url
|
44 |
+
}
|
45 |
+
}
|
46 |
+
}
|
47 |
+
}
|
48 |
+
]
|
49 |
+
},
|
50 |
]
|
51 |
}
|
52 |
]
|