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::updatePollAnswer Class Referencefinal

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

Inheritance diagram for td::td_api::updatePollAnswer:
td::td_api::Update td::td_api::Object td::TlObject

Public Member Functions

 updatePollAnswer ()
 
 updatePollAnswer (int64 poll_id_, object_ptr< MessageSender > &&voter_id_, array< string > &&option_ids_, array< int32 > &&option_positions_)
 
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

int64 poll_id_
 Unique poll identifier.
 
object_ptr< MessageSendervoter_id_
 Identifier of the message sender that changed the answer to the poll.
 
array< stringoption_ids_
 Unique identifiers of answer options, that were chosen by the user.
 
array< int32option_positions_
 0-based identifiers of answer options, that were chosen by the user.
 

Static Public Attributes

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

Detailed Description

A user changed the answer to a poll; for bots only.

Definition at line 83005 of file td_api.h.

Constructor & Destructor Documentation

◆ updatePollAnswer() [1/2]

td::td_api::updatePollAnswer::updatePollAnswer ( )

A user changed the answer to a poll; for bots only.

◆ updatePollAnswer() [2/2]

td::td_api::updatePollAnswer::updatePollAnswer ( int64  poll_id_,
object_ptr< MessageSender > &&  voter_id_,
array< string > &&  option_ids_,
array< int32 > &&  option_positions_ 
)

A user changed the answer to a poll; for bots only.

Parameters
[in]poll_id_Unique poll identifier.
[in]voter_id_Identifier of the message sender that changed the answer to the poll.
[in]option_ids_Unique identifiers of answer options, that were chosen by the user.
[in]option_positions_0-based identifiers of answer options, that were chosen by the user.

Member Function Documentation

◆ store()

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

◆ ID

const std::int32_t td::td_api::updatePollAnswer::ID = 1334893971
static

Identifier uniquely determining a type of the object.

Definition at line 83040 of file td_api.h.

◆ option_ids_

array<string> td::td_api::updatePollAnswer::option_ids_

Unique identifiers of answer options, that were chosen by the user.

Definition at line 83020 of file td_api.h.

◆ option_positions_

array<int32> td::td_api::updatePollAnswer::option_positions_

0-based identifiers of answer options, that were chosen by the user.

Definition at line 83022 of file td_api.h.

◆ poll_id_

int64 td::td_api::updatePollAnswer::poll_id_

Unique poll identifier.

Definition at line 83016 of file td_api.h.

◆ voter_id_

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

Identifier of the message sender that changed the answer to the poll.

Definition at line 83018 of file td_api.h.


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