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

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

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

Public Member Functions

 pollOptionProperties ()
 
 pollOptionProperties (bool can_be_deleted_, bool can_be_replied_, bool can_be_replied_in_another_chat_, bool can_get_link_)
 
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

bool can_be_deleted_
 True, if the option can be deleted using deletePollOption.
 
bool can_be_replied_
 True, if the poll option can be replied in the same chat and forum topic using inputMessageReplyToMessage.
 
bool can_be_replied_in_another_chat_
 True, if the poll option can be replied in another chat or forum topic using inputMessageReplyToExternalMessage.
 
bool can_get_link_
 True, if a link can be generated for the poll option using getMessageLink.
 

Static Public Attributes

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

Detailed Description

Contains properties of a poll option and describes actions that can be done with the option right now.

Definition at line 52248 of file td_api.h.

Constructor & Destructor Documentation

◆ pollOptionProperties() [1/2]

td::td_api::pollOptionProperties::pollOptionProperties ( )

Contains properties of a poll option and describes actions that can be done with the option right now.

◆ pollOptionProperties() [2/2]

td::td_api::pollOptionProperties::pollOptionProperties ( bool  can_be_deleted_,
bool  can_be_replied_,
bool  can_be_replied_in_another_chat_,
bool  can_get_link_ 
)

Contains properties of a poll option and describes actions that can be done with the option right now.

Parameters
[in]can_be_deleted_True, if the option can be deleted using deletePollOption.
[in]can_be_replied_True, if the poll option can be replied in the same chat and forum topic using inputMessageReplyToMessage.
[in]can_be_replied_in_another_chat_True, if the poll option can be replied in another chat or forum topic using inputMessageReplyToExternalMessage.
[in]can_get_link_True, if a link can be generated for the poll option using getMessageLink.

Member Function Documentation

◆ store()

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

◆ can_be_deleted_

bool td::td_api::pollOptionProperties::can_be_deleted_

True, if the option can be deleted using deletePollOption.

Definition at line 52259 of file td_api.h.

◆ can_be_replied_

bool td::td_api::pollOptionProperties::can_be_replied_

True, if the poll option can be replied in the same chat and forum topic using inputMessageReplyToMessage.

Definition at line 52261 of file td_api.h.

◆ can_be_replied_in_another_chat_

bool td::td_api::pollOptionProperties::can_be_replied_in_another_chat_

True, if the poll option can be replied in another chat or forum topic using inputMessageReplyToExternalMessage.

Definition at line 52263 of file td_api.h.

◆ can_get_link_

bool td::td_api::pollOptionProperties::can_get_link_

True, if a link can be generated for the poll option using getMessageLink.

Definition at line 52265 of file td_api.h.

◆ ID

const std::int32_t td::td_api::pollOptionProperties::ID = -269854419
static

Identifier uniquely determining a type of the object.

Definition at line 52283 of file td_api.h.


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