Skip to content

attachment

Optional activity attachments. The server consumes the singular attachment property; each item is a file ID or a typed attachment object.

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. | ( string | @type : ( ... | ... | ... | ... )
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. | ( string | @type : ( ... | ... | ... | ... )
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.attachment