EditMessageSchedulingState
public struct EditMessageSchedulingState : Codable, Equatable, TDFunction
Edits the time when a scheduled message will be sent. Scheduling state of all messages in the same album or forwarded together with the message will be also changed
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
The chat the message belongs to
Declaration
Swift
public let chatId: Int53
-
Identifier of the message
Declaration
Swift
public let messageId: Int53
-
The new message scheduling state. Pass null to send the message immediately
Declaration
Swift
public let schedulingState: MessageSchedulingState
-
Edits the time when a scheduled message will be sent. Scheduling state of all messages in the same album or forwarded together with the message will be also changed
Declaration
Swift
public init(chatId: Int53, messageId: Int53, schedulingState: MessageSchedulingState)
Parameters
chatId
The chat the message belongs to
messageId
Identifier of the message
schedulingState
The new message scheduling state. Pass null to send the message immediately