destroyTweet abstract method
Allows a user or authenticated user ID to delete a Tweet.
Parameters
tweetId
: The Tweet ID you are deleting.
Endpoint Url
Authentication Methods
- OAuth 2.0 Authorization Code with PKCE
- OAuth 1.0a
Required Scopes
- tweet.read
- tweet.write
- users.read
Rate Limits
- User rate limit (OAuth 2.0 user Access Token): 50 requests per 15-minute window per each authenticated user
Reference
Implementation
Future<TwitterResponse<DeleteStateData, void>> destroyTweet(
{required String tweetId});