List of all members | Public Fields | Public Instance Methods | Static Public Attributes
pollVoter Class Referencefinal

Inherits Object.

Description

Represents a poll voter.

Public Fields

object_ptr< MessageSendervoter_id_
 The voter identifier.
 
int32 date_
 Point in time (Unix timestamp) when the vote was added.
 

Public Instance Methods

 pollVoter ()
 
 pollVoter (object_ptr< MessageSender > &&voter_id_, int32 date_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

static const std::int32_t ID = -1354417305
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ pollVoter() [1/2]

pollVoter ( )

Represents a poll voter.

◆ pollVoter() [2/2]

pollVoter ( object_ptr< MessageSender > &&  voter_id_,
int32  date_ 
)

Represents a poll voter.

Parameters
[in]voter_id_The voter identifier.
[in]date_Point in time (Unix timestamp) when the vote was added.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


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