DraftPost
data class DraftPost(val text: String, val labels: DraftPostLabelsUnion? = null, val embedImages: List<DraftEmbedImage>? = null, val embedGallery: DraftEmbedGallery? = null, val embedVideos: List<DraftEmbedVideo>? = null, val embedExternals: List<DraftEmbedExternal>? = null, val embedRecords: List<DraftEmbedRecord>? = null)
One of the posts that compose a draft.
Parameters
text
The primary post content. It has a higher limit than post contents to allow storing a larger text that can later be refined into smaller posts.
labels
Self-label values for this post. Effectively content warnings.
Constructors
Link copied to clipboard
constructor(text: String, labels: DraftPostLabelsUnion? = null, embedImages: List<DraftEmbedImage>? = null, embedGallery: DraftEmbedGallery? = null, embedVideos: List<DraftEmbedVideo>? = null, embedExternals: List<DraftEmbedExternal>? = null, embedRecords: List<DraftEmbedRecord>? = null)