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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<Dice>

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 3261 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::Dice::Ptr = std::shared_ptr<Dice>

Definition at line 3262 of file Types.h.

Member Data Documentation

◆ emoji

std::string TgBot::Dice::emoji { }

Emoji on which the dice throw animation is based.

Definition at line 3267 of file Types.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 3273 of file Types.h.


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