StatusCreate

@Serializable
data class StatusCreate(val status: String? = null, val mediaIds: List<String>? = null, val poll: PollCreate? = null, val inReplyToId: String? = null, val isSensitive: Boolean? = null, val contentWarningText: String? = null, val visibility: StatusVisibility? = null, val language: String? = null)

Object used to post a new Status.

Constructors

Link copied to clipboard
constructor(status: String? = null, mediaIds: List<String>? = null, poll: PollCreate? = null, inReplyToId: String? = null, isSensitive: Boolean? = null, contentWarningText: String? = null, visibility: StatusVisibility? = null, language: String? = null)

Properties

Link copied to clipboard

Text to be shown as a warning or subject before the actual content.

Link copied to clipboard
val inReplyToId: String? = null

ID of the status being replied to, if status is a reply.

Link copied to clipboard
val isSensitive: Boolean? = null

Mark status and attached media as sensitive?

Link copied to clipboard
val language: String? = null

ISO 639-1 language code for this status.

Link copied to clipboard
val mediaIds: List<String>? = null

Array of attachment ids to be attached as media.

Link copied to clipboard
val poll: PollCreate? = null
Link copied to clipboard
val status: String? = null

Text content of the status.

Link copied to clipboard

Visibility of the posted status.