Dice(value, emoji, **kwargs)¶
This object represents a dice with random value from 1 to 6 for currently supported base eomji. (The singular form of “dice” is “die”. However, PTB mimics the Telegram API, which uses the term “dice”.)
emojiis “🎯”, a value of 6 currently represents a bullseye, while a value of 1 indicates that the dartboard was missed. However, this behaviour is undocumented and might be changed by Telegram.
Value of the dice.
Emoji on which the dice throw animation is based.
- value (
int) – Value of the dice, 1-6.
- emoji (
str) – Emoji on which the dice throw animation is based.