Layer 224
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

MessageMedia

Gogram Example

// Creating MessageMediaDice constructor
obj := &tg.MessageMediaDice{
    Value: 42,
    Emoticon: "Hello, World!",

    // Optional fields:
    // GameOutcome: nil,
}