07.4.4.1.3 — Journal Runtime Cleanup & Event Titles Layer
This commit is contained in:
@@ -32,6 +32,17 @@ class TelegramNotificationChannel:
|
||||
text=message.text,
|
||||
parse_mode=message.parse_mode,
|
||||
)
|
||||
|
||||
JournalService().log_info(
|
||||
"notification_sent",
|
||||
"Telegram-уведомление отправлено.",
|
||||
{
|
||||
"title": message.title,
|
||||
"priority": message.priority,
|
||||
"dedupe_key": message.dedupe_key,
|
||||
},
|
||||
)
|
||||
|
||||
return True
|
||||
|
||||
except TelegramRetryAfter as exc:
|
||||
|
||||
Reference in New Issue
Block a user