|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Member Functions | |
| messagePoll () | |
| messagePoll (object_ptr< poll > &&poll_, object_ptr< formattedText > &&description_, object_ptr< MessageContent > &&media_, bool can_add_option_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| object_ptr< poll > | poll_ |
| Information about the poll. | |
| object_ptr< formattedText > | description_ |
| Description of the poll. | |
| object_ptr< MessageContent > | media_ |
| Media attached to the poll. Currently, can be only of the types messageAnimation, messageAudio, messageDocument, messageLocation, messagePhoto, messageVenue, or messageVideo without caption. | |
| bool | can_add_option_ |
| True, if an option can be added to the poll using addPollOption. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1644813882 |
| Identifier uniquely determining a type of the object. | |
| td::td_api::messagePoll::messagePoll | ( | ) |
A message with a poll.
| td::td_api::messagePoll::messagePoll | ( | object_ptr< poll > && | poll_, |
| object_ptr< formattedText > && | description_, | ||
| object_ptr< MessageContent > && | media_, | ||
| bool | can_add_option_ | ||
| ) |
A message with a poll.
| [in] | poll_ | Information about the poll. |
| [in] | description_ | Description of the poll. |
| [in] | media_ | Media attached to the poll. Currently, can be only of the types messageAnimation, messageAudio, messageDocument, messageLocation, messagePhoto, messageVenue, or messageVideo without caption. |
| [in] | can_add_option_ | True, if an option can be added to the poll using addPollOption. |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
| bool td::td_api::messagePoll::can_add_option_ |
True, if an option can be added to the poll using addPollOption.
| object_ptr<formattedText> td::td_api::messagePoll::description_ |
|
static |
| object_ptr<MessageContent> td::td_api::messagePoll::media_ |
Media attached to the poll. Currently, can be only of the types messageAnimation, messageAudio, messageDocument, messageLocation, messagePhoto, messageVenue, or messageVideo without caption.
| object_ptr<poll> td::td_api::messagePoll::poll_ |