Thumbnail

public struct Thumbnail : Encodable

Represents the thumbnail of an embed.

  • The height of this image.

    Declaration

    Swift

    public let height: Int
  • The proxy url for this image.

    Declaration

    Swift

    public let proxyUrl: URL?
  • url

    The url for this image.

    Declaration

    Swift

    public var url: URL
  • The width of this image.

    Declaration

    Swift

    public let width: Int
  • Creates a Thumbnail object.

    Declaration

    Swift

    public init(url: URL)

    Parameters

    url

    The url for this field