Layer 227
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 Dice game outcome.

Returns

MessageMedia

Gogram Example

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