Skip to content

attachments

An array of attachments related to the activity. Attachments can be specified as ActivityEntryAttachment objects or file IDs (strings).

Type

( string | @type : ( "file" | "link" | "video" )
The type of attachment. Defaults to "file".

  • "file": Represents a file attachment.
  • "link": Represents a URL link.
  • "video": Represents a video.

id : string
The file ID of the attachment. )

Declaration

1
 ( string | `@type` : ( `"file"` | `"link"` | `"video"` )

The type of attachment. Defaults to "file".

  • "file": Represents a file attachment.
  • "link": Represents a URL link.
  • "video": Represents a video.

id : string
The file ID of the attachment. ) myActivityEntry.attachments