| Name |
Type |
Description |
Notes |
| type |
String |
|
[optional] |
| url |
String |
|
[optional] |
| title |
String |
Optional title for the media item. Used as the document title for LinkedIn PDF/carousel posts. If omitted, falls back to the post title, then the filename. |
[optional] |
| filename |
String |
|
[optional] |
| size |
Integer |
Optional file size in bytes |
[optional] |
| mime_type |
String |
Optional MIME type (e.g. image/jpeg, video/mp4) |
[optional] |
| thumbnail |
String |
Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, and regular video uploads. Max 10MB, JPG/PNG recommended. |
[optional] |
| instagram_thumbnail |
String |
Custom cover image URL for Instagram Reels. Can also be set via platformSpecificData.instagramThumbnail or platformSpecificData.reelCover. Resolution order: this field > platformSpecificData.instagramThumbnail > platformSpecificData.reelCover > platformSpecificData.thumbnailUrl (legacy). |
[optional] |
| tiktok_processed |
Boolean |
Internal flag indicating the image was resized for TikTok |
[optional] |
require 'zernio-sdk'
instance = Zernio::MediaItem.new(
type: null,
url: null,
title: null,
filename: null,
size: null,
mime_type: null,
thumbnail: null,
instagram_thumbnail: null,
tiktok_processed: null
)