TwitterClient.RetweetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retweet
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Twitter.Models.TweetResponseModel> RetweetAsync(string tweetId, bool? trimUser = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RetweetAsync : string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Twitter.Models.TweetResponseModel>
override this.RetweetAsync : string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Twitter.Models.TweetResponseModel>
Public Overridable Function RetweetAsync (tweetId As String, Optional trimUser As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TweetResponseModel)
Parameters
- tweetId
- String
Tweet id
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Retweet response.
Remarks
This operation retweets a tweet.