Add Notification Package
This commit is contained in:
3
packages/notification/README.md
Normal file
3
packages/notification/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Notification Package
|
||||||
|
|
||||||
|
This package contains configuration information for notifications.
|
||||||
16
packages/notification/notification.yaml
Normal file
16
packages/notification/notification.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Notification Package
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Notification Platforms
|
||||||
|
telegram_bot:
|
||||||
|
- platform: broadcast
|
||||||
|
api_key: !secret telegram_api_key
|
||||||
|
allowed_chat_ids:
|
||||||
|
- !secret telegram_chat_id
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Main Notification Sink
|
||||||
|
notify:
|
||||||
|
- name: telegram_home
|
||||||
|
platform: telegram
|
||||||
|
chat_id: !secret telegram_chat_id
|
||||||
Reference in New Issue
Block a user