|
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 | |
| pollOptionProperties () | |
| pollOptionProperties (bool can_be_deleted_, bool can_be_replied_, bool can_be_replied_in_another_chat_, bool can_get_link_) | |
| 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 | |
| bool | can_be_deleted_ |
| True, if the option can be deleted using deletePollOption. | |
| bool | can_be_replied_ |
| True, if the poll option can be replied in the same chat and forum topic using inputMessageReplyToMessage. | |
| bool | can_be_replied_in_another_chat_ |
| True, if the poll option can be replied in another chat or forum topic using inputMessageReplyToExternalMessage. | |
| bool | can_get_link_ |
| True, if a link can be generated for the poll option using getMessageLink. | |
Static Public Attributes | |
| static const std::int32_t | ID = -269854419 |
| Identifier uniquely determining a type of the object. | |
Contains properties of a poll option and describes actions that can be done with the option right now.
| td::td_api::pollOptionProperties::pollOptionProperties | ( | ) |
Contains properties of a poll option and describes actions that can be done with the option right now.
| td::td_api::pollOptionProperties::pollOptionProperties | ( | bool | can_be_deleted_, |
| bool | can_be_replied_, | ||
| bool | can_be_replied_in_another_chat_, | ||
| bool | can_get_link_ | ||
| ) |
Contains properties of a poll option and describes actions that can be done with the option right now.
| [in] | can_be_deleted_ | True, if the option can be deleted using deletePollOption. |
| [in] | can_be_replied_ | True, if the poll option can be replied in the same chat and forum topic using inputMessageReplyToMessage. |
| [in] | can_be_replied_in_another_chat_ | True, if the poll option can be replied in another chat or forum topic using inputMessageReplyToExternalMessage. |
| [in] | can_get_link_ | True, if a link can be generated for the poll option using getMessageLink. |
|
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::pollOptionProperties::can_be_deleted_ |
True, if the option can be deleted using deletePollOption.
| bool td::td_api::pollOptionProperties::can_be_replied_ |
True, if the poll option can be replied in the same chat and forum topic using inputMessageReplyToMessage.
| bool td::td_api::pollOptionProperties::can_be_replied_in_another_chat_ |
True, if the poll option can be replied in another chat or forum topic using inputMessageReplyToExternalMessage.
| bool td::td_api::pollOptionProperties::can_get_link_ |
True, if a link can be generated for the poll option using getMessageLink.
|
static |