Layer 224
InputMediaStakeDice
Stake dice game media
constructor
inputMediaStakeDice#f3a9244a game_hash:string ton_amount:long client_seed:bytes = InputMedia;
Parameters
| Name | Type | Description |
|---|---|---|
| GameHash | string | Game hash |
| TonAmount | long | TON stake amount |
| ClientSeed | bytes | Client seed |
Returns
InputMediaGogram Example
// Creating InputMediaStakeDice constructor obj := &tg.InputMediaStakeDice{ GameHash: "Hello, World!", TonAmount: int64(1234567890), ClientSeed: []byte{0x01, 0x02, 0x03}, }