Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.48 KB

File metadata and controls

19 lines (14 loc) · 1.48 KB

MediaItem

Properties

Name Type Description Notes
r#type Option<Type> (enum: image, video, gif, document) [optional]
url Option<String> [optional]
title Option<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 Option<String> [optional]
size Option<i32> Optional file size in bytes [optional]
mime_type Option<String> Optional MIME type (e.g. image/jpeg, video/mp4) [optional]
thumbnail Option<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 Option<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 Option<bool> Internal flag indicating the image was resized for TikTok [optional]

[Back to Model list] [Back to API list] [Back to README]