retweet

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

Retweets a tweet. Returns the original Tweet with Retweet details embedded.

Usage Notes:

  • This method is subject to update limits. A HTTP 403 will be returned if this limit as been hit.

  • Twitter will ignore attempts to perform duplicate retweets.

  • The retweet_count will be current as of when the payload is generated and may not reflect the exact count. It is intended as an approximation.

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.