Post

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)

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.

createdAt

Client-declared timestamp when this post was originally created.