How to specify a value for send_dice method? #3635
-
As I want to specify exact value for a dice how should I do this? python-telegram-bot/telegram/bot.py Lines 5315 to 5326 in 92cb6f3 I also tried telegram.Dice class as it accepts emoji and value but using it with send_dice method throws exception that Dice cannot be serialized. |
Beta Was this translation helpful? Give feedback.
Answered by
Bibo-Joshi
Mar 28, 2023
Replies: 1 comment 3 replies
-
You can't. The bot API doesn't support that. The closest you can get is forwarding a message that contains a die with the desired value. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
matryosha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't. The bot API doesn't support that. The closest you can get is forwarding a message that contains a die with the desired value.