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
6
namespace
TgBot
{
7
13
class
Dice
{
14
15
public
:
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
TgBot::Dice
This object represents an animated emoji that displays a random value.
Definition
Dice.h:13
TgBot::Dice::value
std::int32_t value
Value of the dice, 1-6 for “🎲”, “🎯” and “🎳” base emoji, 1-5 for “🏀” and “⚽” base emoji,...
Definition
Dice.h:26
TgBot::Dice::emoji
std::string emoji
Emoji on which the dice throw animation is based.
Definition
Dice.h:21
TgBot::Dice::Ptr
std::shared_ptr< Dice > Ptr
Definition
Dice.h:16
TgBot
Definition
Api.h:40
include
tgbot
types
Dice.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0