/// <summary> /// Retweets the specified <paramref name="statusMessage"/>. /// </summary> /// <param name="statusMessage">The status message to be retweeted.</param> /// <returns>An instance of <see cref="TwitterRetweetStatusMessageResponse"/> representing the response.</returns> public TwitterRetweetStatusMessageResponse RetweetStatusMessage(TwitterStatusMessage statusMessage) { return(TwitterRetweetStatusMessageResponse.ParseResponse(Raw.RetweetStatusMessage(statusMessage))); }
/// <summary> /// Retweets the specified <paramref name="statusMessage"/>. /// </summary> /// <param name="statusMessage">The status message to be retweeted.</param> /// <param name="trimUser">When set to <c>true</c>, 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.</param> /// <returns>An instance of <see cref="TwitterRetweetStatusMessageResponse"/> representing the response.</returns> public TwitterRetweetStatusMessageResponse RetweetStatusMessage(TwitterStatusMessage statusMessage, bool trimUser) { return(TwitterRetweetStatusMessageResponse.ParseResponse(Raw.RetweetStatusMessage(statusMessage, trimUser))); }
/// <summary> /// Retweets the status message with the specified <paramref name="statusId"/>. /// </summary> /// <param name="statusId">The ID of the status message to be retweeted.</param> /// <returns>An instance of <see cref="TwitterRetweetStatusMessageResponse"/> representing the response.</returns> /// <see> /// <cref>https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-retweet-id</cref> /// </see> public TwitterRetweetStatusMessageResponse RetweetStatusMessage(long statusId) { return(TwitterRetweetStatusMessageResponse.ParseResponse(Raw.RetweetStatusMessage(statusId))); }