We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ad9317 commit 0958f81Copy full SHA for 0958f81
1 file changed
homeassistant/components/telegram_bot/bot.py
@@ -562,7 +562,7 @@ async def send_media_group(
562
authentication=entry.get(ATTR_AUTHENTICATION),
563
verify_ssl=entry[ATTR_VERIFY_SSL],
564
)
565
- _LOGGER.debug("downloaded: %s", entry[ATTR_URL])
+ _LOGGER.debug("downloaded: %s", entry.get(ATTR_URL) or entry.get(ATTR_FILE))
566
567
caption: str | None = entry.get(ATTR_CAPTION)
568
if entry[ATTR_MEDIA_TYPE] == InputMediaType.AUDIO:
0 commit comments