tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::pollVoter Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::pollVoter:
td::td_api::Object td::TlObject

Public Member Functions

 pollVoter ()
 
 pollVoter (object_ptr< MessageSender > &&voter_id_, int32 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

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

Static Public Attributes

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

Detailed Description

Represents a poll voter.

Definition at line 52494 of file td_api.h.

Constructor & Destructor Documentation

◆ pollVoter() [1/2]

td::td_api::pollVoter::pollVoter ( )

Represents a poll voter.

◆ pollVoter() [2/2]

td::td_api::pollVoter::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.

Member Function Documentation

◆ store()

void td::td_api::pollVoter::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 td::TlObject.

Member Data Documentation

◆ date_

int32 td::td_api::pollVoter::date_

Point in time (Unix timestamp) when the vote was added.

Definition at line 52507 of file td_api.h.

◆ ID

const std::int32_t td::td_api::pollVoter::ID = -1354417305
static

Identifier uniquely determining a type of the object.

Definition at line 52523 of file td_api.h.

◆ voter_id_

object_ptr<MessageSender> td::td_api::pollVoter::voter_id_

The voter identifier.

Definition at line 52505 of file td_api.h.


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