ScheduledBaseMessageUpdateParams

@objc(SBDScheduledBaseMessageUpdateParams)
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.0

    Declaration

    Swift

    @objc
    public var scheduledAt: Int64
  • The message data. The default value is nil.

    Since

    4.0.0

    Declaration

    Swift

    @objc
    public var data: String?
  • The custom type of the message. The default value is nil.

    Since

    4.0.0

    Declaration

    Swift

    @objc
    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.0

    Declaration

    Swift

    @objc
    public var pushNotificationDeliveryOption: PushNotificationDeliveryOption { get set }
  • The meta arrays with keys and values.

    Since

    4.0.0

    Declaration

    Swift

    @objc
    public var metaArrays: [MessageMetaArray]?
  • The mention type that represents target type of mention.

    Since

    4.0.0

    Declaration

    Swift

    @objc
    public var mentionType: MentionType { get set }
  • The mentioned user IDs. If sends a message with this field, the message will be arrived to mentioned users.

    Since

    4.0.0

    Declaration

    Swift

    @objc
    public var mentionedUserIds: [String]? { get set }
  • Sets the mentionedUserIds by this method either.

    Since

    4.0.0

    Declaration

    Swift

    @objc
    public func setMentionedUsers(_ mentionedUsers: [User])

    Parameters

    mentionedUsers

    The list of users who will be mentioned.

  • Adds user IDs for mention

    Since

    4.0.0

    Declaration

    Swift

    @objc
    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.0

    Declaration

    Swift

    @objc
    public var appleCriticalAlertOptions: AppleCriticalAlertOptions?