tgbot-cpp
Loading...
Searching...
No Matches
TgBot::Dice Class Reference

This object represents an animated emoji that displays a random value. More...

#include <Dice.h>

Public Types

typedef std::shared_ptr< DicePtr
 

Public Attributes

std::string emoji
 Emoji on which the dice throw animation is based.
 
std::int32_t value
 Value of the dice, 1-6 for “🎲”, “🎯” and “🎳” base emoji, 1-5 for “🏀” and “⚽” base emoji, 1-64 for “🎰” base emoji.
 

Detailed Description

This object represents an animated emoji that displays a random value.

Definition at line 13 of file Dice.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<Dice> TgBot::Dice::Ptr

Definition at line 16 of file Dice.h.

Member Data Documentation

◆ emoji

std::string TgBot::Dice::emoji

Emoji on which the dice throw animation is based.

Definition at line 21 of file Dice.h.

◆ value

std::int32_t TgBot::Dice::value

Value of the dice, 1-6 for “🎲”, “🎯” and “🎳” base emoji, 1-5 for “🏀” and “⚽” base emoji, 1-64 for “🎰” base emoji.

Definition at line 26 of file Dice.h.


The documentation for this class was generated from the following file: