# UserNotificationAttachment

Provide at least the property identifier and url property to identify a local image, sound or video. If your media is invalid, the API will throw an error log and skip the invalid attachment.

Availability
7.3.0
9.2.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# identifier

Availability
7.3.0
9.2.0
identifier :String

The identifier of this attachment.


# options

Availability
7.3.0
9.2.0
options :Dictionary

An additional dictionary of options to provide.

Allowed options are:

  • typeHint - File type hint (String)
  • clipping - Clipping enabled or not (Boolean)
  • thumbnailHidden - Thumbnail hidden or not (Boolean)
  • thumbnailTime - Video frame in milliseconds (Number)

# url

Availability
7.3.0
9.2.0
url :String

The URL to the attachment's data. If you have obtained this attachment from the notification-center then the URL will be security-scoped.