MessageMediaDice

class pyrogram.raw.types.MessageMediaDice

Dice-based animated sticker

Constructor of MessageMedia.

Details:
  • Layer: 222

  • ID: 8CBEC07

Parameters:
  • value (int 32-bit) – Dice value

  • emoticon (str) – The emoji, for now , and are supported

  • game_outcome (messages.EmojiGameOutcome, optional) – N/A

Functions:

This object can be returned by 2 functions.

messages.UploadMedia

Upload a file and associate it to a chat (without actually sending it to the chat)

messages.UploadImportedMedia

Upload a media file associated with an imported chat, click here for more info ».