TDLib
Loading...
Searching...
No Matches
td::td_api::inputMessagePoll Class Referencefinal
Inheritance diagram for td::td_api::inputMessagePoll:
td::td_api::InputMessageContent td::td_api::Object td::TlObject

Public Member Functions

 inputMessagePoll (object_ptr< formattedText > &&question_, array< object_ptr< inputPollOption > > &&options_, object_ptr< formattedText > &&description_, object_ptr< InputPollMedia > &&media_, bool is_anonymous_, bool allows_multiple_answers_, bool allows_revoting_, bool members_only_, array< string > &&country_codes_, bool shuffle_options_, bool hide_results_until_closes_, object_ptr< InputPollType > &&type_, int32 open_period_, int32 close_date_, bool is_closed_)
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
TlObjectoperator= (const TlObject &)=delete
 TlObject (TlObject &&)=default
TlObjectoperator= (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

object_ptr< formattedTextquestion_
array< object_ptr< inputPollOption > > options_
object_ptr< formattedTextdescription_
object_ptr< InputPollMediamedia_
bool is_anonymous_
bool allows_multiple_answers_
bool allows_revoting_
bool members_only_
array< string > country_codes_
bool shuffle_options_
bool hide_results_until_closes_
object_ptr< InputPollTypetype_
int32 open_period_
int32 close_date_
bool is_closed_

Static Public Attributes

static const std::int32_t ID = 2087555482

Member Function Documentation

◆ store()

void td::td_api::inputMessagePoll::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]sStorer to which the object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.


The documentation for this class was generated from the following file: