MessageMediaDice
- class pyrogram.raw.types.MessageMediaDice
Dice-based animated sticker
Constructor of
MessageMedia.- Details:
Layer:
223ID:
8CBEC07
- Parameters:
value (
int32-bit) – Dice valueemoticon (
str) – The emoji, for now , and are supportedgame_outcome (
messages.EmojiGameOutcome, optional)
- Functions:
This object can be returned by 2 functions.
Upload a file and associate it to a chat (without actually sending it to the chat)
Upload a media file associated with an imported chat, click here for more info ».
TL Schema
messageMediaDice#8cbec07
flags:#
value:int
emoticon:string
game_outcome:flags.0?messages.EmojiGameOutcome
= MessageMedia
Parameter Tree
MessageMediaDice
├── value →
int├── emoticon →
string└── game_outcome →
messages.EmojiGameOutcome (optional)├── seed →
bytes├── stake_ton_amount →
long└── ton_amount →
longExample
MessageMediaDice(
value=0,
emoticon="text",
)