TwitterClient.TweetAsync(Byte[], String, CancellationToken) 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.
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.