| 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. | |
| Chat::Ptr | voterChat | 
| Optional. The chat that changed the answer to the poll, if the voter is anonymous. | |
| User::Ptr | user | 
| Optional. The user that changed the answer to the poll, if the voter isn't anonymous. | |
| std::vector< std::int32_t > | optionIds | 
| 0-based identifiers of chosen answer options. | |
This object represents an answer of a user in a non-anonymous poll.
Definition at line 19 of file PollAnswer.h.
| typedef std::shared_ptr<PollAnswer> TgBot::PollAnswer::Ptr | 
Definition at line 22 of file PollAnswer.h.
| std::vector<std::int32_t> TgBot::PollAnswer::optionIds | 
0-based identifiers of chosen answer options.
May be empty if the vote was retracted.
Definition at line 44 of file PollAnswer.h.
| std::string TgBot::PollAnswer::pollId | 
Unique poll identifier.
Definition at line 27 of file PollAnswer.h.
| User::Ptr TgBot::PollAnswer::user | 
Optional. The user that changed the answer to the poll, if the voter isn't anonymous.
Definition at line 37 of file PollAnswer.h.
| Chat::Ptr TgBot::PollAnswer::voterChat | 
Optional. The chat that changed the answer to the poll, if the voter is anonymous.
Definition at line 32 of file PollAnswer.h.