DeleteDraftEmailMessagesInput

public struct DeleteDraftEmailMessagesInput

input object for deleting draft email messages using SudoEmailClient

  • ids

    The list of unique identifiers of the draft email messages to delete.

    Declaration

    Swift

    public var ids: [String]
  • The identifier of the email address associated with the draft email messages.

    Declaration

    Swift

    public var emailAddressId: String
  • The identifier of the email mask associated with the draft email messages.In order to delete draft email messages that are associated with an email mask, the emailMaskId must be provided and match the email mask associated with the draft email messages. If the draft email messages are not associated with an email mask, this property should be omitted.

    Declaration

    Swift

    public var emailMaskId: String?
  • Declaration

    Swift

    public init(ids: [String], emailAddressId: String, emailMaskId: String? = nil)