|
TDLib
|
Inherits td::td_api::Update.
Public Member Functions | |
| updatePollAnswer () | |
| updatePollAnswer (int64 poll_id_, object_ptr< MessageSender > &&voter_id_, array< int32 > &&option_ids_) | |
| std::int32_t | get_id () const final |
| 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 | |
| int64 | poll_id_ |
| Unique poll identifier. | |
| object_ptr< MessageSender > | voter_id_ |
| Identifier of the message sender that changed the answer to the poll. | |
| array< int32 > | option_ids_ |
| 0-based identifiers of answer options, chosen by the user. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1104905219 |
| Identifier uniquely determining a type of the object. | |
A user changed the answer to a poll; for bots only.
| td::td_api::updatePollAnswer::updatePollAnswer | ( | ) |
A user changed the answer to a poll; for bots only.
| td::td_api::updatePollAnswer::updatePollAnswer | ( | int64 | poll_id_, |
| object_ptr< MessageSender > && | voter_id_, | ||
| array< int32 > && | option_ids_ | ||
| ) |
A user changed the answer to a poll; for bots only.
| [in] | poll_id_ | Unique poll identifier. |
| [in] | voter_id_ | Identifier of the message sender that changed the answer to the poll. |
| [in] | option_ids_ | 0-based identifiers of answer options, chosen by the user. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
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.