1#ifndef TGBOT_POLLANSWER_H
2#define TGBOT_POLLANSWER_H
22 typedef std::shared_ptr<PollAnswer>
Ptr;
std::shared_ptr< Chat > Ptr
This object represents an answer of a user in a non-anonymous poll.
std::shared_ptr< PollAnswer > Ptr
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.
std::shared_ptr< User > Ptr