Attachment

public class Attachment : Codable

Undocumented

  • id

    ID of the attachment.

    Declaration

    Swift

    public let id: String
  • Type of the attachment.

    Declaration

    Swift

    public let type: AttachmentType
  • url

    URL of the locally hosted version of the image.

    Declaration

    Swift

    public let url: String
  • For remote images, the remote URL of the original image.

    Declaration

    Swift

    public let remoteURL: String?
  • URL of the preview image.

    Declaration

    Swift

    public let previewURL: String
  • Shorter URL for the image, for insertion into text (only present on local images).

    Declaration

    Swift

    public let textURL: String?
  • A description of the image for the visually impaired.

    Declaration

    Swift

    public let description: String?