/// <summary> /// Un-favorites the status message with the specified <code>statusId</code> as the authenticating user. /// </summary> /// <param name="statusId">The ID of the status message.</param> public TwitterGetStatusMessageResponse Destroy(long statusId) { return(TwitterGetStatusMessageResponse.ParseResponse(Raw.Destroy(statusId))); }
/// <summary> /// Favorites the status message with the specified <code>statusId</code> as the authenticating user. /// </summary> /// <param name="statusId">The ID of the status message.</param> public TwitterGetStatusMessageResponse Create(long statusId) { return(TwitterGetStatusMessageResponse.ParseResponse(Raw.Create(statusId))); }
/// <summary> /// Destroys the status with the specified <paramref name="id"/>. The authenticating user must be the author of the /// specified status. Returns the destroyed status if successful. /// </summary> /// <param name="id">The ID of the status to be destroyed.</param> /// <param name="trimUser">When set to <code>true</code>, 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>Returns the response from the API.</returns> public TwitterGetStatusMessageResponse DestroyStatusMessage(long id, bool trimUser) { return(TwitterGetStatusMessageResponse.ParseResponse(Raw.DestroyStatusMessage(id, trimUser))); }
/// <summary> /// Gets the raw API response for a status message (tweet) matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options used when making the call to the API.</param> /// <returns>An instance of <see cref="TwitterGetStatusMessageResponse"/> representing the response.</returns> /// <see> /// <cref>https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-show-id</cref> /// </see> public TwitterGetStatusMessageResponse GetStatusMessage(TwitterGetStatusMessageOptions options) { return(TwitterGetStatusMessageResponse.ParseResponse(Raw.GetStatusMessage(options))); }
/// <summary> /// Retweets the status with the specified <code>id</code>. /// </summary> /// <param name="id">The ID of the tweet to be retweeted.</param> /// <param name="trimUser">When set to <code>true</code>, 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>Returns the response from the API.</returns> public TwitterGetStatusMessageResponse Retweet(long id, bool trimUser) { return(TwitterGetStatusMessageResponse.ParseResponse(Raw.Retweet(id, trimUser))); }