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

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

Inheritance diagram for td::td_api::messageSchedulingStateSendAtDate:
td::td_api::MessageSchedulingState td::td_api::Object td::TlObject

Public Member Functions

 messageSchedulingStateSendAtDate ()
 
 messageSchedulingStateSendAtDate (int32 send_date_, int32 repeat_period_)
 
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 send_date_
 Point in time (Unix timestamp) when the message will be sent. The date must be within 367 days in the future.
 
int32 repeat_period_
 Period after which the message will be sent again; in seconds; 0 if never; for Telegram Premium users only; may be non-zero only in sendMessage and forwardMessages with one message requests; must be one of 0, 86400, 7 * 86400, 14 * 86400, 30 * 86400, 91 * 86400, 182 * 86400, 365 * 86400, or additionally 60, or 300 in the Test DC.
 

Static Public Attributes

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

Detailed Description

The message will be sent at the specified date.

Definition at line 44769 of file td_api.h.

Constructor & Destructor Documentation

◆ messageSchedulingStateSendAtDate() [1/2]

td::td_api::messageSchedulingStateSendAtDate::messageSchedulingStateSendAtDate ( )

The message will be sent at the specified date.

◆ messageSchedulingStateSendAtDate() [2/2]

td::td_api::messageSchedulingStateSendAtDate::messageSchedulingStateSendAtDate ( int32  send_date_,
int32  repeat_period_ 
)

The message will be sent at the specified date.

Parameters
[in]send_date_Point in time (Unix timestamp) when the message will be sent. The date must be within 367 days in the future.
[in]repeat_period_Period after which the message will be sent again; in seconds; 0 if never; for Telegram Premium users only; may be non-zero only in sendMessage and forwardMessages with one message requests; must be one of 0, 86400, 7 * 86400, 14 * 86400, 30 * 86400, 91 * 86400, 182 * 86400, 365 * 86400, or additionally 60, or 300 in the Test DC.

Member Function Documentation

◆ store()

void td::td_api::messageSchedulingStateSendAtDate::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::messageSchedulingStateSendAtDate::ID = 1505903015
static

Identifier uniquely determining a type of the object.

Definition at line 44798 of file td_api.h.

◆ repeat_period_

int32 td::td_api::messageSchedulingStateSendAtDate::repeat_period_

Period after which the message will be sent again; in seconds; 0 if never; for Telegram Premium users only; may be non-zero only in sendMessage and forwardMessages with one message requests; must be one of 0, 86400, 7 * 86400, 14 * 86400, 30 * 86400, 91 * 86400, 182 * 86400, 365 * 86400, or additionally 60, or 300 in the Test DC.

Definition at line 44782 of file td_api.h.

◆ send_date_

int32 td::td_api::messageSchedulingStateSendAtDate::send_date_

Point in time (Unix timestamp) when the message will be sent. The date must be within 367 days in the future.

Definition at line 44780 of file td_api.h.


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