|
|
| 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 |
| 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 |
|
|
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 const std::int32_t | ID = -1926406506 |
◆ store()
| void td::td_api::poll::store |
( |
TlStorerToString & | s, |
|
|
const char * | field_name ) const |
|
finalvirtual |
Helper function for the to_string method. Appends a string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which the object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: