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

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

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

Public Member Functions

 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 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

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.
 

Static Public Attributes

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

Detailed Description

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

Definition at line 5392 of file td_api.h.

Constructor & Destructor Documentation

◆ businessAwayMessageSettings() [1/2]

td::td_api::businessAwayMessageSettings::businessAwayMessageSettings ( )

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

◆ businessAwayMessageSettings() [2/2]

td::td_api::businessAwayMessageSettings::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.

Member Function Documentation

◆ store()

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

◆ ID

const std::int32_t td::td_api::businessAwayMessageSettings::ID = 353084137
static

Identifier uniquely determining a type of the object.

Definition at line 5427 of file td_api.h.

◆ offline_only_

bool td::td_api::businessAwayMessageSettings::offline_only_

True, if the messages must not be sent if the account was online in the last 10 minutes.

Definition at line 5409 of file td_api.h.

◆ recipients_

object_ptr<businessRecipients> td::td_api::businessAwayMessageSettings::recipients_

Chosen recipients of the away messages.

Definition at line 5405 of file td_api.h.

◆ schedule_

object_ptr<BusinessAwayMessageSchedule> td::td_api::businessAwayMessageSettings::schedule_

Settings used to check whether the current user is away.

Definition at line 5407 of file td_api.h.

◆ shortcut_id_

int32 td::td_api::businessAwayMessageSettings::shortcut_id_

Unique quick reply shortcut identifier for the away messages.

Definition at line 5403 of file td_api.h.


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