Status

@Serializable
data class Status(val statusId: String, val uri: String, val createdAt: Instant, val account: Account, val content: String, val visibility: StatusVisibility, val isSensitive: Boolean, val contentWarningText: String, val mediaAttachments: List<Attachment>, val mentions: List<Mention>, val tags: List<Tag>, val emojis: List<Emoji>, val boostsCount: Long, val favouritesCount: Long, val repliesCount: Long, val application: Application? = null, val url: String? = null, val inReplyToId: String? = null, val inReplyToAccountId: String? = null, val boostedStatus: Status? = null, val poll: Poll? = null, val card: Card? = null, val language: String? = null, val plainText: String? = null, val isFavourited: Boolean? = null, val isBoosted: Boolean? = null, val isMuted: Boolean? = null, val isBookmarked: Boolean? = null, val isPinned: Boolean? = null) : Pageable

Represents a status posted by an account.

Constructors

Link copied to clipboard
constructor(statusId: String, uri: String, createdAt: Instant, account: Account, content: String, visibility: StatusVisibility, isSensitive: Boolean, contentWarningText: String, mediaAttachments: List<Attachment>, mentions: List<Mention>, tags: List<Tag>, emojis: List<Emoji>, boostsCount: Long, favouritesCount: Long, repliesCount: Long, application: Application? = null, url: String? = null, inReplyToId: String? = null, inReplyToAccountId: String? = null, boostedStatus: Status? = null, poll: Poll? = null, card: Card? = null, language: String? = null, plainText: String? = null, isFavourited: Boolean? = null, isBoosted: Boolean? = null, isMuted: Boolean? = null, isBookmarked: Boolean? = null, isPinned: Boolean? = null)

Properties

Link copied to clipboard

The account that authored this status.

Link copied to clipboard

The application used to post this status.

Link copied to clipboard
val boostedStatus: Status? = null

The status being boosted.

Link copied to clipboard

How many boosts this status has received.

Link copied to clipboard
val card: Card? = null

Preview card for links included within status content.

Link copied to clipboard

HTML-encoded status content.

Link copied to clipboard

Subject or summary line, below which status content is collapsed until expanded.

Link copied to clipboard
val createdAt: Instant

The time when this status was created.

Link copied to clipboard

Custom emoji to be used when rendering status content.

Link copied to clipboard

How many favourites this status has received.

Link copied to clipboard
open override val id: String
Link copied to clipboard

ID of the account being replied to.

Link copied to clipboard
val inReplyToId: String? = null

ID of the status being replied to.

Link copied to clipboard
val isBookmarked: Boolean? = null

Whether the current account has bookmarked this status.

Link copied to clipboard
val isBoosted: Boolean? = null

Whether the current account has boosted this status.

Link copied to clipboard
val isFavourited: Boolean? = null

Whether the current account has favourited this status.

Link copied to clipboard
val isMuted: Boolean? = null

Whether the current account has muted notifications for this conversation.

Link copied to clipboard
val isPinned: Boolean? = null

Whether the current account has pinned this status.

Link copied to clipboard

Is this status marked as sensitive content?

Link copied to clipboard
val language: String? = null

Primary language of this status.

Link copied to clipboard

Media that is attached to this status.

Link copied to clipboard

Mentions of users within the status content.

Link copied to clipboard
val plainText: String? = null

Plain-text source of a status.

Link copied to clipboard
val poll: Poll? = null

The poll attached to the status.

Link copied to clipboard

How many replies this status has received.

Link copied to clipboard
Link copied to clipboard
val tags: List<Tag>

Hashtags used within the status content.

Link copied to clipboard
val uri: String

URI of the status used for federation.

Link copied to clipboard
val url: String? = null

A link to the status's HTML representation.

Link copied to clipboard

Visibility of this status.