tgbot-cpp
|
This object represents an answer of a user in a non-anonymous poll. More...
#include <PollAnswer.h>
Public Types | |
typedef std::shared_ptr< PollAnswer > | Ptr |
Public Attributes | |
std::string | pollId |
Unique poll identifier. | |
User::Ptr | user |
The user, who changed the answer to the poll. | |
std::vector< std::int32_t > | optionIds |
0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote. | |
This object represents an answer of a user in a non-anonymous poll.
Definition at line 17 of file PollAnswer.h.
typedef std::shared_ptr<PollAnswer> TgBot::PollAnswer::Ptr |
Definition at line 20 of file PollAnswer.h.
std::vector<std::int32_t> TgBot::PollAnswer::optionIds |
0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote.
Definition at line 36 of file PollAnswer.h.
std::string TgBot::PollAnswer::pollId |
Unique poll identifier.
Definition at line 25 of file PollAnswer.h.
User::Ptr TgBot::PollAnswer::user |
The user, who changed the answer to the poll.
Definition at line 30 of file PollAnswer.h.