hunter v0.3.0 Hunter.Attachment
Attachment entity
This module defines a Hunter.Attachment
struct and the main functions
for working with Attachments.
Fields
id
- ID of the attachmenttype
- One of: “image”, “video”, “gifv”url
- URL of the locally hosted version of the imageremote_url
- For remote images, the remote URL of the original imagepreview_url
- URL of the preview imagetext_url
- Shorter URL for the image, for insertion into text (only present on local images)
Summary
Functions
Upload a media attachment