From a97b8dda57380327bf0f3e7d8eb1aa78794362f4 Mon Sep 17 00:00:00 2001 From: uburuntu Date: Wed, 29 Jul 2020 19:26:34 +0300 Subject: [PATCH] ref: order arguments for send_dice --- aiogram/types/message.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aiogram/types/message.py b/aiogram/types/message.py index 3123590d..f2a16db9 100644 --- a/aiogram/types/message.py +++ b/aiogram/types/message.py @@ -1049,8 +1049,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, ) @@ -1835,8 +1835,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, )