telegram.Dice¶
-
class
telegram.Dice(value, **kwargs)¶ Bases:
telegram.base.TelegramObjectThis object represents a dice with random value from 1 to 6. (The singular form of “dice” is “die”. However, PTB mimics the Telegram API, which uses the term “dice”.)
-
value¶ Value of the dice.
Type: int
Parameters: value ( int) – Value of the dice, 1-6.-