mod/notification-telegram: support sending to specific chatid
This commit is contained in:
parent
bf1af61d2d
commit
2cb74f0269
|
@ -98,7 +98,8 @@
|
|||
:return $Return;
|
||||
}
|
||||
|
||||
:local ChatId [ $EitherOr ($TelegramChatIdOverride->($Notification->"origin")) $TelegramChatId ];
|
||||
:local ChatId [ $EitherOr ($Notification->"chatid") \
|
||||
[ $EitherOr ($TelegramChatIdOverride->($Notification->"origin")) $TelegramChatId ] ];
|
||||
:local TokenId [ $EitherOr ($TelegramTokenIdOverride->($Notification->"origin")) $TelegramTokenId ];
|
||||
|
||||
:if ([ :len $TokenId ] = 0 || [ :len $ChatId ] = 0) do={
|
||||
|
|
Loading…
Reference in New Issue