delete

fun Statuses.delete(    id: Long,     trimUser: Boolean? = null,     tweetMode: TweetMode = TweetMode.Default,     vararg options: Option): JsonObjectApiAction<Status>

Destroys the status specified by the required ID parameter. The authenticating user must be the author of the specified status. Returns the destroyed status if successful.

Twitter API reference

Receiver

Statuses endpoint instance.

Return

JsonObjectApiAction for Status model.

Parameters

id

The numerical ID of the desired status.

trimUser

When set to either true , t or 1 , each tweet returned in a timeline will include a user object including only the status authors numerical ID. Omit this parameter to receive the complete user object.

options

Optional. Custom parameters of this request.