Status
public class Status : Codable
Undocumented
-
The ID of the status.
Declaration
Swift
public let id: String -
A Fediverse-unique resource ID.
Declaration
Swift
public let uri: String -
URL to the status page (can be remote).
Declaration
Swift
public let url: URL? -
The Account which posted the status.
Declaration
Swift
public let account: Account -
null or the ID of the status it replies to.
Declaration
Swift
public let inReplyToID: String? -
null or the ID of the account it replies to.
Declaration
Swift
public let inReplyToAccountID: String? -
Body of the status; this will contain HTML (remote HTML already sanitized).
Declaration
Swift
public let content: String -
The time the status was created.
Declaration
Swift
public let createdAt: Date -
An array of Emoji.
Declaration
Swift
public let emojis: [Emoji] -
The number of reblogs for the status.
Declaration
Swift
public let reblogsCount: Int -
The number of favourites for the status.
Declaration
Swift
public let favouritesCount: Int -
Whether the authenticated user has reblogged the status.
Declaration
Swift
public let reblogged: Bool? -
Whether the authenticated user has favourited the status.
Declaration
Swift
public let favourited: Bool? -
Whether media attachments should be hidden by default.
Declaration
Swift
public let sensitive: Bool? -
If not empty, warning text that should be displayed before the actual content.
Declaration
Swift
public let spoilerText: String -
The visibility of the status.
Declaration
Swift
public let visibility: Visibility -
An array of attachments.
Declaration
Swift
public let mediaAttachments: [Attachment] -
An array of mentions.
Declaration
Swift
public let mentions: [Mention] -
An array of tags.
Declaration
Swift
public let tags: [Tag] -
Application from which the status was posted.
Declaration
Swift
public let application: Application? -
The detected language for the status.
Declaration
Swift
public let language: String? -
The reblogged Status
Declaration
Swift
public let reblog: Status? -
Whether this is the pinned status for the account that posted it.
Declaration
Swift
public let pinned: Bool?
View on GitHub
Install in Dash
Status Class Reference