From f926d80ba2ffe3a62cdd906a2094693a025ed2f0 Mon Sep 17 00:00:00 2001 From: Ramzan Bekbulatov Date: Sun, 13 Sep 2020 22:13:15 +0300 Subject: [PATCH] Add missed emoji argument to reply_dice (#395) * fix: add missed emoji argument to reply_dice * ref: order arguments for send_dice --- aiogram/types/message.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aiogram/types/message.py b/aiogram/types/message.py index 52c2b3a8..3540a736 100644 --- a/aiogram/types/message.py +++ b/aiogram/types/message.py @@ -1048,8 +1048,8 @@ class Message(base.TelegramObject): """ return await self.bot.send_dice( chat_id=self.chat.id, - disable_notification=disable_notification, emoji=emoji, + disable_notification=disable_notification, reply_to_message_id=self.message_id if reply else None, reply_markup=reply_markup, ) @@ -1834,6 +1834,7 @@ class Message(base.TelegramObject): """ return await self.bot.send_dice( chat_id=self.chat.id, + emoji=emoji, disable_notification=disable_notification, reply_to_message_id=self.message_id if reply else None, reply_markup=reply_markup,