ScheduledBaseMessageUpdateParams
public class ScheduledBaseMessageUpdateParams: NSObject
A base class to update a scheduled message.
Since
4.0.0-
The time to send the message, in Unix milliseconds format. Term between current time and
scheduledAt
should be more than 5 minutes.Since
4.0.0Declaration
Swift
public var scheduledAt: Int64 = 0
-
The message data. The default value is nil.
Since
4.0.0Declaration
Swift
public var data: String?
-
The custom type of the message. The default value is
nil
.Since
4.0.0Declaration
Swift
public var customType: String?
-
The push notification delivery option that determines how to deliver the push notification when sending a user or a file message. The default value is
.default
.Since
4.0.0Declaration
Swift
public var pushNotificationDeliveryOption: PushNotificationDeliveryOption = .default
-
The meta arrays with keys and values.
Since
4.0.0Declaration
Swift
public var metaArrays: [MessageMetaArray]?
-
The mention type that represents target type of mention.
Since
4.0.0Declaration
Swift
public var mentionType: MentionType = .users
-
The mentioned user IDs. If sends a message with this field, the message will be arrived to mentioned users.
Since
4.0.0Declaration
Swift
public var mentionedUserIds: [String]?
-
Sets the
mentionedUserIds
by this method either.Since
4.0.0Declaration
Swift
public func setMentionedUsers(_ mentionedUsers: [User])
Parameters
mentionedUsers
The list of users who will be mentioned.
-
Adds user IDs for mention
Since
4.0.0Declaration
Swift
public func addMentionedUserIds(_ userIds: [String])
Parameters
userIds
list of user IDs
-
The push notification options for the Apple critical alert. The default value is
nil
.Since
4.0.0Declaration
Swift
public var appleCriticalAlertOptions: AppleCriticalAlertOptions?