kenken999 commited on
Commit
77b53d3
1 Parent(s): fd35b25
Files changed (1) hide show
  1. mysite/interpreter/google_chat.py +2 -11
mysite/interpreter/google_chat.py CHANGED
@@ -17,21 +17,12 @@ def send_google_chat_card(webhook_url, title, subtitle, link_text, link_url,imag
17
  {
18
  "header": {
19
  "title": title,
 
 
20
  },
21
  "sections": [
22
  {
23
  "widgets": [
24
- {
25
- "image": {
26
- "imageUrl": image_url,
27
- "onClick": {
28
- "openLink": {
29
- "url": image_url
30
- }
31
- }
32
- },
33
- "imageStyle": "IMAGE"
34
- },
35
  {
36
  "textParagraph": {
37
  "text": subtitle
 
17
  {
18
  "header": {
19
  "title": title,
20
+ "imageUrl": image_url,
21
+ "imageStyle": "IMAGE"
22
  },
23
  "sections": [
24
  {
25
  "widgets": [
 
 
 
 
 
 
 
 
 
 
 
26
  {
27
  "textParagraph": {
28
  "text": subtitle