/// <summary>
 /// Gets information about the 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="SocialHttpResponse"/> representing the raw response.</returns>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-show-id</cref>
 /// </see>
 public SocialHttpResponse GetStatusMessage(TwitterGetStatusMessageOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException(nameof(options));
     }
     return(Client.DoHttpGetRequest("https://api.twitter.com/1.1/statuses/show.json", options));
 }
Beispiel #2
0
 /// <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)));
 }