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

Inherits Object.

Description

Describes settings for messages that are automatically sent by a Telegram Business account when it is away.

Public Fields

int32 shortcut_id_
 Unique quick reply shortcut identifier for the away messages.
 
object_ptr< businessRecipientsrecipients_
 Chosen recipients of the away messages.
 
object_ptr< BusinessAwayMessageScheduleschedule_
 Settings used to check whether the current user is away.
 
bool offline_only_
 True, if the messages must not be sent if the account was online in the last 10 minutes.
 

Public Instance Methods

 businessAwayMessageSettings ()
 
 businessAwayMessageSettings (int32 shortcut_id_, object_ptr< businessRecipients > &&recipients_, object_ptr< BusinessAwayMessageSchedule > &&schedule_, bool offline_only_)
 
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 = 353084137
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ businessAwayMessageSettings() [1/2]

Describes settings for messages that are automatically sent by a Telegram Business account when it is away.

◆ businessAwayMessageSettings() [2/2]

businessAwayMessageSettings ( int32  shortcut_id_,
object_ptr< businessRecipients > &&  recipients_,
object_ptr< BusinessAwayMessageSchedule > &&  schedule_,
bool  offline_only_ 
)

Describes settings for messages that are automatically sent by a Telegram Business account when it is away.

Parameters
[in]shortcut_id_Unique quick reply shortcut identifier for the away messages.
[in]recipients_Chosen recipients of the away messages.
[in]schedule_Settings used to check whether the current user is away.
[in]offline_only_True, if the messages must not be sent if the account was online in the last 10 minutes.

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: