This object represents an answer of a user in a non-anonymous poll.
More...
#include <Types.h>
|
| std::string | pollId { } |
| | Unique poll identifier.
|
| std::shared_ptr< Chat > | voterChat { } |
| | Optional. The chat that changed the answer to the poll, if the voter is anonymous.
|
| std::shared_ptr< User > | 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. May be empty if the vote was retracted.
|
| std::vector< std::string > | optionPersistentIds { } |
| | Persistent identifiers of the chosen answer options. May be empty if the vote was retracted.
|
This object represents an answer of a user in a non-anonymous poll.
Definition at line 10001 of file Types.h.
◆ Ptr
◆ optionIds
| 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 10019 of file Types.h.
◆ optionPersistentIds
| std::vector<std::string> TgBot::PollAnswer::optionPersistentIds { } |
Persistent identifiers of the chosen answer options. May be empty if the vote was retracted.
Definition at line 10024 of file Types.h.
◆ pollId
| std::string TgBot::PollAnswer::pollId { } |
Unique poll identifier.
Definition at line 10007 of file Types.h.
◆ user
| std::shared_ptr<User> TgBot::PollAnswer::user { } |
Optional. The user that changed the answer to the poll, if the voter isn't anonymous.
Definition at line 10015 of file Types.h.
◆ voterChat
| std::shared_ptr<Chat> TgBot::PollAnswer::voterChat { } |
Optional. The chat that changed the answer to the poll, if the voter is anonymous.
Definition at line 10011 of file Types.h.
The documentation for this struct was generated from the following file: