|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Member Functions | |
| suggestedPostInfo () | |
| suggestedPostInfo (object_ptr< SuggestedPostPrice > &&price_, int32 send_date_, object_ptr< SuggestedPostState > &&state_, bool can_be_approved_, bool can_be_declined_) | |
| 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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| object_ptr< SuggestedPostPrice > | price_ |
| Price of the suggested post; may be null if the post is non-paid. | |
| int32 | send_date_ |
| Point in time (Unix timestamp) when the post is expected to be published; 0 if the specific date isn't set yet. | |
| object_ptr< SuggestedPostState > | state_ |
| State of the post. | |
| bool | can_be_approved_ |
| True, if the suggested post can be approved by the current user using approveSuggestedPost; updates aren't sent when value of this field changes. | |
| bool | can_be_declined_ |
| True, if the suggested post can be declined by the current user using declineSuggestedPost; updates aren't sent when value of this field changes. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1088331710 |
| Identifier uniquely determining a type of the object. | |
Contains information about a suggested post. If the post can be approved or declined, then changes to the post can be also suggested. Use sendMessage with reply to the message and suggested post information to suggest message changes. Use addOffer to suggest price or time changes.
| td::td_api::suggestedPostInfo::suggestedPostInfo | ( | ) |
Contains information about a suggested post. If the post can be approved or declined, then changes to the post can be also suggested. Use sendMessage with reply to the message and suggested post information to suggest message changes. Use addOffer to suggest price or time changes.
| td::td_api::suggestedPostInfo::suggestedPostInfo | ( | object_ptr< SuggestedPostPrice > && | price_, |
| int32 | send_date_, | ||
| object_ptr< SuggestedPostState > && | state_, | ||
| bool | can_be_approved_, | ||
| bool | can_be_declined_ | ||
| ) |
Contains information about a suggested post. If the post can be approved or declined, then changes to the post can be also suggested. Use sendMessage with reply to the message and suggested post information to suggest message changes. Use addOffer to suggest price or time changes.
| [in] | price_ | Price of the suggested post; may be null if the post is non-paid. |
| [in] | send_date_ | Point in time (Unix timestamp) when the post is expected to be published; 0 if the specific date isn't set yet. |
| [in] | state_ | State of the post. |
| [in] | can_be_approved_ | True, if the suggested post can be approved by the current user using approveSuggestedPost; updates aren't sent when value of this field changes. |
| [in] | can_be_declined_ | True, if the suggested post can be declined by the current user using declineSuggestedPost; updates aren't sent when value of this field changes. |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
| bool td::td_api::suggestedPostInfo::can_be_approved_ |
True, if the suggested post can be approved by the current user using approveSuggestedPost; updates aren't sent when value of this field changes.
| bool td::td_api::suggestedPostInfo::can_be_declined_ |
True, if the suggested post can be declined by the current user using declineSuggestedPost; updates aren't sent when value of this field changes.
|
static |
| object_ptr<SuggestedPostPrice> td::td_api::suggestedPostInfo::price_ |
| int32 td::td_api::suggestedPostInfo::send_date_ |
| object_ptr<SuggestedPostState> td::td_api::suggestedPostInfo::state_ |