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::uint32_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 10399 of file Types.h.
◆ Ptr
◆ optionIds
| std::vector<std::uint32_t> TgBot::PollAnswer::optionIds { } |
0-based identifiers of chosen answer options. May be empty if the vote was retracted.
Definition at line 10417 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 10422 of file Types.h.
◆ pollId
| std::string TgBot::PollAnswer::pollId { } |
Unique poll identifier.
Definition at line 10405 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 10413 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 10409 of file Types.h.
The documentation for this struct was generated from the following file: