|
TDLib
|
Public Member Functions | |
| poll (int64 id_, object_ptr< formattedText > &&question_, array< object_ptr< pollOption > > &&options_, int32 total_voter_count_, array< object_ptr< MessageSender > > &&recent_voter_ids_, bool can_get_voters_, bool can_see_results_, bool is_anonymous_, bool allows_multiple_answers_, bool allows_revoting_, bool members_only_, array< string > &&country_codes_, array< int32 > &&option_order_, object_ptr< PollType > &&type_, int32 open_period_, int32 close_date_, bool is_closed_, object_ptr< PollVoteRestrictionReason > &&vote_restriction_reason_) | |
| 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 | id_ |
| object_ptr< formattedText > | question_ |
| array< object_ptr< pollOption > > | options_ |
| int32 | total_voter_count_ |
| array< object_ptr< MessageSender > > | recent_voter_ids_ |
| bool | can_get_voters_ |
| bool | can_see_results_ |
| bool | is_anonymous_ |
| bool | allows_multiple_answers_ |
| bool | allows_revoting_ |
| bool | members_only_ |
| array< string > | country_codes_ |
| array< int32 > | option_order_ |
| object_ptr< PollType > | type_ |
| int32 | open_period_ |
| int32 | close_date_ |
| bool | is_closed_ |
| object_ptr< PollVoteRestrictionReason > | vote_restriction_reason_ |
Static Public Attributes | |
| static const std::int32_t | ID = -1926406506 |
|
finalvirtual |
Helper function for the to_string method. Appends a string representation of the object to the storer.
| [in] | s | Storer to which the object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.