evcc-io/templates/definition/messenger/telegram.yaml
Maschga 7f772bad73
Config UI: make messengers configurable (#26946)
Co-authored-by: andig <cpuidle@gmail.com>
Co-authored-by: andig <andi@evcc.io>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Michael Geers <michael@geers.tv>
2026-02-17 12:26:03 +01:00

39 lines
1.1 KiB
YAML

template: telegram
products:
- brand: Telegram
requirements:
evcc: ["skiptest"]
params:
- name: token
required: true
mask: true
example: 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
description:
de: Token
en: Token
help:
de: Auch Bot-ID genannt.
en: Also called Bot ID.
- name: chats
required: true
type: list
example: -210987654
description:
de: Chat-IDs
en: Chat IDs
help:
de: >
Chat-Identifikatoren und Gruppen-Identifikatoren können angegeben werden. Letztere haben ein Minuszeichen. Ein Eintrag pro Zeile.
Tipp: In Telegram im Browser anmelden und die Chats öffnen, um die Kennungen in der URL zu sehen.
en: >
Chat identifiers and group identifiers can be specified. The latter have a minus sign. One entry per line.
Tip: Log in to Telegram in your browser and open the chats to see the identifiers in the URL.
render: |
type: telegram
token: {{ .token }}
{{- if .chats }}
chats:
{{- range .chats }}
- {{ . }}
{{- end }}
{{- end }}