This object contains information about one answer option in a poll to be sent.
More...
#include <Types.h>
|
| std::string | text { } |
| | Option text, 1-100 characters.
|
| std::optional< std::string > | textParseMode { } |
| | Optional. Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed.
|
| std::optional< std::vector< std::shared_ptr< MessageEntity > > > | textEntities { } |
| | Optional. A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of text_parse_mode.
|
| std::shared_ptr< InputPollOptionMedia > | media { } |
| | Optional. Media added to the poll option.
|
This object contains information about one answer option in a poll to be sent.
Definition at line 7113 of file Types.h.
◆ Ptr
◆ media
Optional. Media added to the poll option.
Definition at line 7136 of file Types.h.
◆ text
| std::string TgBot::InputPollOption::text { } |
Option text, 1-100 characters.
Definition at line 7119 of file Types.h.
◆ textEntities
| std::optional<std::vector<std::shared_ptr<MessageEntity> > > TgBot::InputPollOption::textEntities { } |
Optional. A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of text_parse_mode.
Definition at line 7131 of file Types.h.
◆ textParseMode
| std::optional<std::string> TgBot::InputPollOption::textParseMode { } |
Optional. Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed.
Definition at line 7125 of file Types.h.
The documentation for this struct was generated from the following file: