tgbot-cpp
Loading...
Searching...
No Matches
TgBot::PollOptionAdded Struct Reference

Describes a service message about an option added to a poll. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<PollOptionAdded>

Public Attributes

std::shared_ptr< MaybeInaccessibleMessagepollMessage { }
 Optional. Message containing the poll to which the option was added, if known. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.
std::string optionPersistentId { }
 Unique identifier of the added option.
std::string optionText { }
 Option text.
std::optional< std::vector< std::shared_ptr< MessageEntity > > > optionTextEntities { }
 Optional. Special entities that appear in the option_text.

Detailed Description

Describes a service message about an option added to a poll.

Definition at line 11061 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::PollOptionAdded::Ptr = std::shared_ptr<PollOptionAdded>

Definition at line 11062 of file Types.h.

Member Data Documentation

◆ optionPersistentId

std::string TgBot::PollOptionAdded::optionPersistentId { }

Unique identifier of the added option.

Definition at line 11074 of file Types.h.

◆ optionText

std::string TgBot::PollOptionAdded::optionText { }

Option text.

Definition at line 11079 of file Types.h.

◆ optionTextEntities

std::optional<std::vector<std::shared_ptr<MessageEntity> > > TgBot::PollOptionAdded::optionTextEntities { }

Optional. Special entities that appear in the option_text.

Definition at line 11084 of file Types.h.

◆ pollMessage

std::shared_ptr<MaybeInaccessibleMessage> TgBot::PollOptionAdded::pollMessage { }

Optional. Message containing the poll to which the option was added, if known. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.

Definition at line 11069 of file Types.h.


The documentation for this struct was generated from the following file: