mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add missed emoji argument to reply_dice (#395)
* fix: add missed emoji argument to reply_dice * ref: order arguments for send_dice
This commit is contained in:
parent
1f91f60454
commit
075d8be72d
1 changed files with 2 additions and 1 deletions
|
|
@ -1048,8 +1048,8 @@ class Message(base.TelegramObject):
|
||||||
"""
|
"""
|
||||||
return await self.bot.send_dice(
|
return await self.bot.send_dice(
|
||||||
chat_id=self.chat.id,
|
chat_id=self.chat.id,
|
||||||
disable_notification=disable_notification,
|
|
||||||
emoji=emoji,
|
emoji=emoji,
|
||||||
|
disable_notification=disable_notification,
|
||||||
reply_to_message_id=self.message_id if reply else None,
|
reply_to_message_id=self.message_id if reply else None,
|
||||||
reply_markup=reply_markup,
|
reply_markup=reply_markup,
|
||||||
)
|
)
|
||||||
|
|
@ -1834,6 +1834,7 @@ class Message(base.TelegramObject):
|
||||||
"""
|
"""
|
||||||
return await self.bot.send_dice(
|
return await self.bot.send_dice(
|
||||||
chat_id=self.chat.id,
|
chat_id=self.chat.id,
|
||||||
|
emoji=emoji,
|
||||||
disable_notification=disable_notification,
|
disable_notification=disable_notification,
|
||||||
reply_to_message_id=self.message_id if reply else None,
|
reply_to_message_id=self.message_id if reply else None,
|
||||||
reply_markup=reply_markup,
|
reply_markup=reply_markup,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue