Ejemplo n.º 1
0
 /// <summary>
 /// Posts the specified status message.
 /// </summary>
 /// <param name="status">The status message to send.</param>
 /// <returns>An instance of <see cref="TwitterPostStatusMessageResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update</cref>
 /// </see>
 public TwitterPostStatusMessageResponse PostStatusMessage(string status)
 {
     return(TwitterPostStatusMessageResponse.ParseResponse(Raw.PostStatusMessage(status)));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Posts the specified status message.
 /// </summary>
 /// <param name="status">The status message to send.</param>
 /// <param name="replyTo">The ID of the status message to reply to.</param>
 /// <returns>An instance of <see cref="TwitterPostStatusMessageResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update</cref>
 /// </see>
 public TwitterPostStatusMessageResponse PostStatusMessage(string status, long replyTo)
 {
     return(TwitterPostStatusMessageResponse.ParseResponse(Raw.PostStatusMessage(status, replyTo)));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Posts a new status message (tweet) with the specified <paramref name="options"/>.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 /// <returns>An instance of <see cref="TwitterPostStatusMessageResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update</cref>
 /// </see>
 public TwitterPostStatusMessageResponse PostStatusMessage(TwitterPostStatusMessageOptions options)
 {
     return(TwitterPostStatusMessageResponse.ParseResponse(Raw.PostStatusMessage(options)));
 }