List of all members | Public Fields | Public Instance Methods | Static Public Attributes
businessInfo Class Referencefinal

Inherits Object.

Description

Contains information about a Telegram Business account.

Public Fields

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.
 

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

Static Public Attributes

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

Constructor & Destructor Documentation

◆ businessInfo() [1/2]

Contains information about a Telegram Business account.

◆ businessInfo() [2/2]

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.

Method Documentation

◆ store()

void 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 TlObject.


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