tgbot-cpp
Loading...
Searching...
No Matches
Dice.h
Go to the documentation of this file.
1#ifndef TGBOT_CPP_DICE_H
2#define TGBOT_CPP_DICE_H
3
4#include <memory>
5
6namespace TgBot {
7
13class Dice {
14
15public:
16 typedef std::shared_ptr<Dice> Ptr;
17
21 std::string emoji;
22
26 std::int32_t value;
27};
28}
29
30#endif //TGBOT_CPP_DICE_H
This object represents an animated emoji that displays a random value.
Definition Dice.h:13
std::int32_t value
Value of the dice, 1-6 for “🎲”, “🎯” and “🎳” base emoji, 1-5 for “🏀” and “⚽” base emoji,...
Definition Dice.h:26
std::string emoji
Emoji on which the dice throw animation is based.
Definition Dice.h:21
std::shared_ptr< Dice > Ptr
Definition Dice.h:16
Definition Api.h:39