StatusesApi

interface StatusesApi

Publish, interact, and view information about statuses.

See also

Functions

Link copied to clipboard
abstract suspend fun bookmark(statusId: String): Status

Privately bookmarks a status.

Link copied to clipboard
abstract suspend fun boost(statusId: String, visibility: StatusVisibility? = null): Status

Boosts a status.

Link copied to clipboard
abstract suspend fun deleteStatus(statusId: String): Status?

Deletes a status.

Link copied to clipboard
abstract suspend fun favourite(statusId: String): Status

Adds a status to your favourites list.

Link copied to clipboard
abstract suspend fun featureStatus(statusId: String): Status

Features a status from the current account at the top of their profile.

Link copied to clipboard
abstract suspend fun getBoostedBy(statusId: String): List<Account>

Gets who boosted a given status.

Link copied to clipboard
abstract suspend fun getContext(statusId: String): Context?

Gets statuses above and below this status in the thread.

Link copied to clipboard
abstract suspend fun getFavouritedBy(statusId: String): List<Account>

Gets who favourited a given status.

Link copied to clipboard
abstract suspend fun getStatus(statusId: String): Status?

Gets information about a status.

Link copied to clipboard
abstract suspend fun mute(statusId: String): Status

Turns off notifications for the thread that this status is part of.

Link copied to clipboard
abstract suspend fun postStatus(status: ScheduledStatusCreate): ScheduledStatus

Schedules a new status to be posted in the future.

abstract suspend fun postStatus(status: StatusCreate): Status

Posts a new status.

Link copied to clipboard
abstract suspend fun undoBookmark(statusId: String): Status

Removes a status from the account's private bookmarks.

Link copied to clipboard
abstract suspend fun undoBoost(statusId: String): Status

Un-boosts a status.

Link copied to clipboard
abstract suspend fun undoFavourite(statusId: String): Status

Removes a status from your favourites list.

Link copied to clipboard
abstract suspend fun undoMute(statusId: String): Status

Un-mutes notifications for the thread that this status is part of.

Link copied to clipboard
abstract suspend fun unfeatureStatus(statusId: String): Status

Un-features a currently featured status.