ScheduledUserMessageCreateParams
public final class ScheduledUserMessageCreateParams: ScheduledBaseMessageCreateParams
An object that has parameters to create a scheduled message.
Since
4.0.0-
The message text.
Since
4.0.0Declaration
Swift
public var message: String
-
The target languages that the message will be translated into.
Since
4.0.0Declaration
Swift
public var translationTargetLanguages: [String]?
-
Initializes and returns a params object for creating a scheduled user message.
Declaration
Swift
public init(scheduledAt: Int64, message: String)
Parameters
scheduledAt
The time to send the message, in Unix milliseconds format. Term between current time and
scheduledAt
should be more than 5 minutes.message
The message to text.
Return Value
An initialized scheduled user message params.
-
Undocumented
Declaration
Swift
public override func encode(to encoder: Encoder) throws
-
Undocumented
Declaration
Swift
public required init(from decoder: Decoder) throws