Post
data class Post(val text: String, val entities: ReadOnlyList<PostEntity> = persistentListOf(), val facets: ReadOnlyList<Facet> = persistentListOf(), val reply: PostReplyRef? = null, val embed: PostEmbedUnion? = null, val langs: ReadOnlyList<Language> = persistentListOf(), val labels: PostLabelsUnion? = null, val tags: ReadOnlyList<String> = persistentListOf(), val createdAt: Timestamp)
Constructors
Link copied to clipboard
constructor(text: String, entities: ReadOnlyList<PostEntity> = persistentListOf(), facets: ReadOnlyList<Facet> = persistentListOf(), reply: PostReplyRef? = null, embed: PostEmbedUnion? = null, langs: ReadOnlyList<Language> = persistentListOf(), labels: PostLabelsUnion? = null, tags: ReadOnlyList<String> = persistentListOf(), createdAt: Timestamp)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Annotations of text (mentions, URLs, hashtags, etc)
Link copied to clipboard
Self-label values for this post. Effectively content warnings.
Link copied to clipboard
Indicates human language of post primary text content.
Link copied to clipboard
Link copied to clipboard
Additional hashtags, in addition to any included in post text and facets.