Documentation - v0.27.1
    Preparing search index...

    Interface InputMediaDice

    An animated dice with a random value to be sent

    For convenience, known dice emojis are available as static members of Dice.

    Note that dice result value is generated randomly on the server, you can't influence it in any way!

    interface InputMediaDice {
        caption?: InputText;
        emoji: string;
        type: "dice";
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    caption?: InputText

    Caption of the media

    emoji: string

    Emoji representing a dice

    type: "dice"