|
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 | |
| businessInfo () | |
| businessInfo (object_ptr< businessLocation > &&location_, object_ptr< businessOpeningHours > &&opening_hours_, object_ptr< businessOpeningHours > &&local_opening_hours_, int32 next_open_in_, int32 next_close_in_, object_ptr< businessGreetingMessageSettings > &&greeting_message_settings_, object_ptr< businessAwayMessageSettings > &&away_message_settings_, object_ptr< businessStartPage > &&start_page_) | |
| 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< businessLocation > | location_ |
| Location of the business; may be null if none. | |
| object_ptr< businessOpeningHours > | opening_hours_ |
| Opening hours of the business; may be null if none. The hours are guaranteed to be valid and has already been split by week days. | |
| object_ptr< businessOpeningHours > | local_opening_hours_ |
| Opening hours of the business in the local time; may be null if none. The hours are guaranteed to be valid and has already been split by week days. Local time zone identifier will be empty. An updateUserFullInfo update is not triggered when value of this field changes. | |
| int32 | next_open_in_ |
| Time left before the business will open the next time, in seconds; 0 if unknown. An updateUserFullInfo update is not triggered when value of this field changes. | |
| int32 | next_close_in_ |
| Time left before the business will close the next time, in seconds; 0 if unknown. An updateUserFullInfo update is not triggered when value of this field changes. | |
| object_ptr< businessGreetingMessageSettings > | greeting_message_settings_ |
| The greeting message; may be null if none or the Business account is not of the current user. | |
| object_ptr< businessAwayMessageSettings > | away_message_settings_ |
| The away message; may be null if none or the Business account is not of the current user. | |
| object_ptr< businessStartPage > | start_page_ |
| Information about start page of the account; may be null if none. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1428179342 |
| Identifier uniquely determining a type of the object. | |
| td::td_api::businessInfo::businessInfo | ( | ) |
Contains information about a Telegram Business account.
| td::td_api::businessInfo::businessInfo | ( | object_ptr< businessLocation > && | location_, |
| object_ptr< businessOpeningHours > && | opening_hours_, | ||
| object_ptr< businessOpeningHours > && | local_opening_hours_, | ||
| int32 | next_open_in_, | ||
| int32 | next_close_in_, | ||
| object_ptr< businessGreetingMessageSettings > && | greeting_message_settings_, | ||
| object_ptr< businessAwayMessageSettings > && | away_message_settings_, | ||
| object_ptr< businessStartPage > && | start_page_ | ||
| ) |
Contains information about a Telegram Business account.
| [in] | location_ | Location of the business; may be null if none. |
| [in] | opening_hours_ | Opening hours of the business; may be null if none. The hours are guaranteed to be valid and has already been split by week days. |
| [in] | local_opening_hours_ | Opening hours of the business in the local time; may be null if none. The hours are guaranteed to be valid and has already been split by week days. Local time zone identifier will be empty. An updateUserFullInfo update is not triggered when value of this field changes. |
| [in] | next_open_in_ | Time left before the business will open the next time, in seconds; 0 if unknown. An updateUserFullInfo update is not triggered when value of this field changes. |
| [in] | next_close_in_ | Time left before the business will close the next time, in seconds; 0 if unknown. An updateUserFullInfo update is not triggered when value of this field changes. |
| [in] | greeting_message_settings_ | The greeting message; may be null if none or the Business account is not of the current user. |
| [in] | away_message_settings_ | The away message; may be null if none or the Business account is not of the current user. |
| [in] | start_page_ | Information about start page of the account; may be null if none. |
|
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.
| object_ptr<businessAwayMessageSettings> td::td_api::businessInfo::away_message_settings_ |
| object_ptr<businessGreetingMessageSettings> td::td_api::businessInfo::greeting_message_settings_ |
|
static |
| object_ptr<businessOpeningHours> td::td_api::businessInfo::local_opening_hours_ |
Opening hours of the business in the local time; may be null if none. The hours are guaranteed to be valid and has already been split by week days. Local time zone identifier will be empty. An updateUserFullInfo update is not triggered when value of this field changes.
| object_ptr<businessLocation> td::td_api::businessInfo::location_ |
| int32 td::td_api::businessInfo::next_close_in_ |
Time left before the business will close the next time, in seconds; 0 if unknown. An updateUserFullInfo update is not triggered when value of this field changes.
| int32 td::td_api::businessInfo::next_open_in_ |
Time left before the business will open the next time, in seconds; 0 if unknown. An updateUserFullInfo update is not triggered when value of this field changes.
| object_ptr<businessOpeningHours> td::td_api::businessInfo::opening_hours_ |
| object_ptr<businessStartPage> td::td_api::businessInfo::start_page_ |