Layer 224
MessageMediaDice
Dice-based animated sticker
constructor
messageMediaDice#8cbec07 flags:# value:int emoticon:string game_outcome:flags.0?messages.EmojiGameOutcome = MessageMedia;
Parameters
| Name | Type | Description |
|---|---|---|
| Value | int | Dice value |
| Emoticon | string | The emoji, for now, and are supported |
| GameOutcome | flags.0?messages.EmojiGameOutcome |
Returns
MessageMediaGogram Example
// Creating MessageMediaDice constructor obj := &tg.MessageMediaDice{ Value: 42, Emoticon: "Hello, World!", // Optional fields: // GameOutcome: nil, }