|
TDLib
|
Inherits Object.
Contains properties of a poll option and describes actions that can be done with the option right now.
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 TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (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. | |
| pollOptionProperties | ( | ) |
Contains properties of a poll option and describes actions that can be done with the option right now.
| 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 |