MadelineProtoDocs/docs/API_docs/constructors/messageMediaDice.md
2020-06-16 17:50:25 +02:00

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'}