MadelineProtoDocs/docs/API_docs/constructors/inputMediaDice.md

39 lines
806 B
Markdown
Raw Normal View History

2020-04-03 14:11:09 +02:00
---
title: inputMediaDice
2020-06-16 17:50:25 +02:00
description: Send a [dice-based animated sticker](https://core.telegram.org/api/dice)
2020-04-03 14:11:09 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputMediaDice
[Back to constructors index](index.md)
2020-06-16 17:50:25 +02:00
Send a [dice-based animated sticker](https://core.telegram.org/api/dice)
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|emoticon|[string](../types/string.md) | Yes|The emoji, for now 🏀, 🎲 and 🎯 are supported|
2020-04-03 14:11:09 +02:00
### Type: [InputMedia](../types/InputMedia.md)
### Example:
```php
2020-06-16 17:50:25 +02:00
$inputMediaDice = ['_' => 'inputMediaDice', 'emoticon' => 'string'];
2020-04-03 14:11:09 +02:00
```
Or, if you're into Lua:
```lua
2020-06-16 17:50:25 +02:00
inputMediaDice={_='inputMediaDice', emoticon='string'}
2020-04-03 14:11:09 +02:00
```