MadelineProtoDocs/old_docs/API_docs_v41/constructors/messageMediaDice.md

921 B

title: messageMediaDice description: Dice-based animated sticker image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageMediaDice

Back to constructors index

Dice-based animated sticker

Attributes:

Name Type Required Description
value int Yes Dice value
emoticon string Yes The emoji, for now 🏀, 🎲 and 🎯 are supported

Type: MessageMedia

Example:

$messageMediaDice = ['_' => 'messageMediaDice', 'value' => int, 'emoticon' => 'string'];

Or, if you're into Lua:

messageMediaDice={_='messageMediaDice', value=int, emoticon='string'}