summaryrefslogtreecommitdiff
path: root/internal/telegram
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-06-27 02:20:00 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-06-27 02:20:00 +0300
commit12ef16cbeef97b58a5e660230eaa84ceb80afdbc (patch)
treea4ca8b8a5ed07b8406467f1919e2d76fd44c7952 /internal/telegram
first commit
Diffstat (limited to 'internal/telegram')
-rw-r--r--internal/telegram/config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/telegram/config.go b/internal/telegram/config.go
new file mode 100644
index 0000000..9fd6029
--- /dev/null
+++ b/internal/telegram/config.go
@@ -0,0 +1,6 @@
+package telegram
+
+type Config struct {
+ BotToken string `env:"TELEGRAM_TOKEN"`
+ TargetGroups []int64 `env:"TELEGRAM_GROUPS"`
+}