diff --git a/gateway/platforms/base.py b/gateway/platforms/base.py index 90012e1c..67ecb51d 100644 --- a/gateway/platforms/base.py +++ b/gateway/platforms/base.py @@ -510,6 +510,7 @@ class BasePlatformAdapter(ABC): image_url: str, caption: Optional[str] = None, reply_to: Optional[str] = None, + metadata: Optional[Dict[str, Any]] = None, ) -> SendResult: """ Send an image natively via the platform API. @@ -537,7 +538,7 @@ class BasePlatformAdapter(ABC): (e.g., Telegram send_animation) so they auto-play inline. Default falls back to send_image. """ - return await self.send_image(chat_id=chat_id, image_url=animation_url, caption=caption, reply_to=reply_to) + return await self.send_image(chat_id=chat_id, image_url=animation_url, caption=caption, reply_to=reply_to, metadata=metadata) @staticmethod def _is_animation_url(url: str) -> bool: