3 changed files with 56 additions and 8 deletions
@ -1,20 +1,22 @@ |
|||||||
--- |
--- |
||||||
route: |
route: |
||||||
receiver: main-receiver |
receiver: ms.teams |
||||||
group_by: [job] |
group_by: [job] |
||||||
group_wait: 30s |
group_wait: 30s |
||||||
group_interval: 1m |
group_interval: 1m |
||||||
repeat_interval: 1h |
repeat_interval: 1h |
||||||
routes: |
routes: |
||||||
- receiver: msteams |
- receiver: msteams |
||||||
|
|
||||||
|
- receiver: telegram.bot |
||||||
|
|
||||||
receivers: |
receivers: |
||||||
# - name: telegram.bot |
- name: telegram.bot |
||||||
# telegram_configs: |
telegram_configs: |
||||||
# - api_url: https://api.telegram.org |
- api_url: https://api.telegram.org |
||||||
# bot_token: 5209410321:AAGqy6WrQZQRQ0qx0pww8K6KPqzXIeRRosA |
bot_token: 5209410321:AAGqy6WrQZQRQ0qx0pww8K6KPqzXIeRRosA |
||||||
# chat_id: 65498889 |
chat_id: 65498889 |
||||||
# parse_mode: HTML |
parse_mode: HTML |
||||||
|
|
||||||
- name: ms.teams |
- name: ms.teams |
||||||
webhook_configs: |
webhook_configs: |
||||||
|
|||||||
@ -0,0 +1,39 @@ |
|||||||
|
{ |
||||||
|
"@context": "https://schema.org/extensions", |
||||||
|
"@type": "MessageCard", |
||||||
|
"themeColor": "0072C6", |
||||||
|
"title": "Visit the Outlook Dev Portal", |
||||||
|
"text": "Click **Learn More** to learn more about Actionable Messages!", |
||||||
|
"potentialAction": [ |
||||||
|
{ |
||||||
|
"@type": "ActionCard", |
||||||
|
"name": "Send Feedback", |
||||||
|
"inputs": [ |
||||||
|
{ |
||||||
|
"@type": "TextInput", |
||||||
|
"id": "feedback", |
||||||
|
"isMultiline": true, |
||||||
|
"title": "Let us know what you think about Actionable Messages" |
||||||
|
} |
||||||
|
], |
||||||
|
"actions": [ |
||||||
|
{ |
||||||
|
"@type": "HttpPOST", |
||||||
|
"name": "Send Feedback", |
||||||
|
"isPrimary": true, |
||||||
|
"target": "http://..." |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"@type": "OpenUri", |
||||||
|
"name": "Learn More", |
||||||
|
"targets": [ |
||||||
|
{ |
||||||
|
"os": "default", |
||||||
|
"uri": "https://docs.microsoft.com/outlook/actionable-messages" |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
Loading…
Reference in new issue