diff --git a/src/aiogram_dialog/utils.py b/src/aiogram_dialog/utils.py index 64cdf2a2..b0453ed0 100644 --- a/src/aiogram_dialog/utils.py +++ b/src/aiogram_dialog/utils.py @@ -144,7 +144,8 @@ def get_media_id(message: Message) -> Optional[MediaId]: message.animation or message.document or (message.photo[-1] if message.photo else None) or - message.video + message.video or + message.voice ) if not media: return None