Inherits Object.
Contains information about a Telegram Business account.
Public Fields | |
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. | |
Public Instance Methods | |
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 Instance Methods inherited from 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 |
Static Public Attributes | |
static const std::int32_t | ID = 1428179342 |
Identifier uniquely determining a type of the object. | |
businessInfo | ( | ) |
Contains information about a Telegram Business account.
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 |