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

Public Member Functions

 pollOption (string const &id_, object_ptr< formattedText > &&text_, object_ptr< PollMedia > &&media_, int32 voter_count_, int32 vote_percentage_, array< object_ptr< MessageSender > > &&recent_voter_ids_, bool is_chosen_, bool is_being_chosen_, object_ptr< MessageSender > &&author_, int32 addition_date_)
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

string id_
object_ptr< formattedTexttext_
object_ptr< PollMediamedia_
int32 voter_count_
int32 vote_percentage_
array< object_ptr< MessageSender > > recent_voter_ids_
bool is_chosen_
bool is_being_chosen_
object_ptr< MessageSenderauthor_
int32 addition_date_

Static Public Attributes

static const std::int32_t ID = 1339400435

Member Function Documentation

◆ store()

void td::td_api::pollOption::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: