Link Search Menu Expand Document

Constructor: messageMediaDice

Back to constructors index

Dice-based animated sticker

Attributes:

NameTypeRequiredDescription
valueintYesDice value
emoticonstringYesThe emoji, for now 🏀, 🎲 and 🎯 are supported
game_outcomemessages.EmojiGameOutcomeOptional

Type: MessageMedia

Example:

$messageMediaDice = ['_' => 'messageMediaDice', 'value' => int, 'emoticon' => 'string', 'game_outcome' => messages.EmojiGameOutcome];