MessageSchedulingStateSendAtDate class final

The message will be sent at the specified date

Inheritance

Constructors

MessageSchedulingStateSendAtDate({required int sendDate, required int repeatPeriod})
The message will be sent at the specified date
const
MessageSchedulingStateSendAtDate.fromJson(Map<String, dynamic> json)
Parses a MessageSchedulingStateSendAtDate from TDLib JSON.
factory

Properties

clientId → int?
Identifier of the TDLib client that sent this object, when known.
no setterinherited
extra → dynamic
"@extra" of the request this object answers; null for updates.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
repeatPeriod → int
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
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sendDate → int
Point in time (Unix timestamp) when the message will be sent. The date must be within 367 days in the future
final

Methods

copyWith({int? sendDate, int? repeatPeriod}) → MessageSchedulingStateSendAtDate
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
override
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String
TDLib type name.