Post
data class Post(val text: String, val entities: List<PostEntity> = emptyList(), val facets: List<Facet> = emptyList(), val reply: PostReplyRef? = null, val embed: PostEmbedUnion? = null, val langs: List<Language> = emptyList(), val labels: PostLabelsUnion? = null, val tags: List<String> = emptyList(), val createdAt: Timestamp)
Parameters
text
The primary post content. May be an empty string, if there are embeds.
facets
Annotations of text (mentions, URLs, hashtags, etc)
langs
Indicates human language of post primary text content.
labels
Self-label values for this post. Effectively content warnings.
tags
Additional hashtags, in addition to any included in post text and facets.
created At
Client-declared timestamp when this post was originally created.
Constructors
Link copied to clipboard
constructor(text: String, entities: List<PostEntity> = emptyList(), facets: List<Facet> = emptyList(), reply: PostReplyRef? = null, embed: PostEmbedUnion? = null, langs: List<Language> = emptyList(), labels: PostLabelsUnion? = null, tags: List<String> = emptyList(), createdAt: Timestamp)