Skip to content

The agent that grows with you

fix(telegram): localize the download-failure reply for video notes

kshitijk4poored960fe9602f
diff --git a/plugins/platforms/telegram/adapter.py b/plugins/platforms/telegram/adapter.py
index 9c892693d57..b8772d04bfa 100644
--- a/plugins/platforms/telegram/adapter.py
+++ b/plugins/platforms/telegram/adapter.py
@@ -177,7 +177,7 @@ def _bold_label_html(line: str) -> str:
_MEDIA_KIND_KEYS = {
"attachment": "platform.telegram.media.kind_attachment", "photo": "platform.telegram.media.kind_photo",
"voice message": "platform.telegram.media.kind_voice", "audio file": "platform.telegram.media.kind_audio",
- "video file": "platform.telegram.media.kind_video"}
+ "video file": "platform.telegram.media.kind_video", "video note": "platform.telegram.media.kind_video"}
from gateway.platforms.event import MessageEvent, MessageType, ProcessingOutcome
from plugins.platforms.telegram.telegram_entities import expand_link_entities