TwitterClient.TweetAsync(Byte[], String, CancellationToken) Method

Definition

Post a tweet

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Twitter.Models.TweetResponseModel> TweetAsync(byte[] input, string tweetText = default, System.Threading.CancellationToken cancellationToken = default);
abstract member TweetAsync : byte[] * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Twitter.Models.TweetResponseModel>
override this.TweetAsync : byte[] * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Twitter.Models.TweetResponseModel>
Public Overridable Function TweetAsync (input As Byte(), Optional tweetText As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TweetResponseModel)

Parameters

input
Byte[]

The request body.

tweetText
String

Tweet text

cancellationToken
CancellationToken

Cancellation token.

Returns

The Post a tweet response.

Remarks

This operation posts a new tweet.

Applies to