Dice#

class hydrogram.types.Dice[source]#

A dice with a random value from 1 to 6 for currently supported base emoji.

Parameters:
  • emoji (string) – Emoji on which the dice throw animation is based.

  • value (int) – Value of the dice, 1-6 for currently supported base emoji.