UpdateMediaAttachmentParams

public struct UpdateMediaAttachmentParams : Codable, Sendable

Undocumented

  • Undocumented

    Declaration

    Swift

    public init(description: String? = nil, focus: String? = nil)
  • Undocumented

    Declaration

    Swift

    public init(thumbnail: Data, thumbnailMimeType: String, description: String? = nil, focus: String? = nil)
  • The custom thumbnail of the media to be attached, encoded using multipart form data.

    Declaration

    Swift

    public let thumbnail: Data?
  • The mime type of thumbnail.

    Declaration

    Swift

    public let thumbnailMimeType: String?
  • A plain-text description of the media, for accessibility purposes.

    Declaration

    Swift

    public let description: String?
  • Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0

    Declaration

    Swift

    public let focus: String?