From 86cc1837b61ef157e1f8b5f886b2b392fd90267e Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 17 Mar 2021 15:09:04 +0100 Subject: [PATCH] Add support for the new bowling animation (dice) --- pyrogram/methods/messages/send_dice.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyrogram/methods/messages/send_dice.py b/pyrogram/methods/messages/send_dice.py index 1b7a88c1..89a8a538 100644 --- a/pyrogram/methods/messages/send_dice.py +++ b/pyrogram/methods/messages/send_dice.py @@ -47,7 +47,10 @@ class SendDice(Scaffold): For a contact that exists in your Telegram address book you can use his phone number (str). emoji (``str``, *optional*): - Emoji on which the dice throw animation is based. Currently, must be one of "🎲", "🎯", "🏀" or "⚽️". + Emoji on which the dice throw animation is based. + Currently, must be one of "🎲", "🎯", "🏀", "⚽", "🎳", or "🎰". + Dice can have values 1-6 for "🎲", "🎯" and "🎳", values 1-5 for "🏀" and "⚽", and + values 1-64 for "🎰". Defaults to "🎲". disable_notification (``bool``, *optional*):