Fix periodic summary image URL format

URLs must be list of dicts with 'url' and 'type' keys, not plain strings.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-03 16:00:44 +03:00
parent 7818390bee
commit cfe050dcf3

View File

@@ -1468,7 +1468,7 @@ action:
data:
chat_id: "{{ repeat.item }}"
caption: "{{ periodic_summary_formatted }}"
urls: "{{ [periodic_summary_image_url] if periodic_summary_image_url | length > 0 else [] }}"
urls: "{{ [{'url': periodic_summary_image_url, 'type': 'IMAGE'}] if periodic_summary_image_url | length > 0 else [] }}"
disable_web_page_preview: "{{ telegram_disable_url_preview }}"
chat_action: "{{ telegram_chat_action }}"