Skip to main content

giphy-attachment-payload-properties

type

An attachment type all GiphyAttachmentPayload instances conform to. Is set to .giphy.

public static let type: AttachmentType = .giphy

title

A title, usually the search request used to find the gif.

public var title: String

previewURL

A link to gif file.

public var previewURL: URL

actions

Actions when gif is not sent yet. (for example Shuffle)

public var actions: [AttachmentAction]

Methods

encode(to:)

public func encode(to encoder: Encoder) throws

Did you find this page helpful?