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

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

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

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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< businessLocationlocation_
 Location of the business; may be null if none.
 
object_ptr< businessOpeningHoursopening_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< businessOpeningHourslocal_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< businessGreetingMessageSettingsgreeting_message_settings_
 The greeting message; may be null if none or the Business account is not of the current user.
 
object_ptr< businessAwayMessageSettingsaway_message_settings_
 The away message; may be null if none or the Business account is not of the current user.
 
object_ptr< businessStartPagestart_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.
 

Detailed Description

Contains information about a Telegram Business account.

Definition at line 6288 of file td_api.h.

Constructor & Destructor Documentation

◆ businessInfo() [1/2]

td::td_api::businessInfo::businessInfo ( )

Contains information about a Telegram Business account.

◆ businessInfo() [2/2]

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.

Parameters
[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.

Member Function Documentation

◆ store()

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

◆ away_message_settings_

object_ptr<businessAwayMessageSettings> td::td_api::businessInfo::away_message_settings_

The away message; may be null if none or the Business account is not of the current user.

Definition at line 6311 of file td_api.h.

◆ greeting_message_settings_

object_ptr<businessGreetingMessageSettings> td::td_api::businessInfo::greeting_message_settings_

The greeting message; may be null if none or the Business account is not of the current user.

Definition at line 6309 of file td_api.h.

◆ ID

const std::int32_t td::td_api::businessInfo::ID = 1428179342
static

Identifier uniquely determining a type of the object.

Definition at line 6335 of file td_api.h.

◆ local_opening_hours_

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.

Definition at line 6303 of file td_api.h.

◆ location_

object_ptr<businessLocation> td::td_api::businessInfo::location_

Location of the business; may be null if none.

Definition at line 6299 of file td_api.h.

◆ next_close_in_

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.

Definition at line 6307 of file td_api.h.

◆ next_open_in_

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.

Definition at line 6305 of file td_api.h.

◆ opening_hours_

object_ptr<businessOpeningHours> td::td_api::businessInfo::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.

Definition at line 6301 of file td_api.h.

◆ start_page_

object_ptr<businessStartPage> td::td_api::businessInfo::start_page_

Information about start page of the account; may be null if none.

Definition at line 6313 of file td_api.h.


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