updateListAsPrivate abstract method
Enables the authenticated user to update the meta data of a specified List that they own as a private scope.
Parameters
-
listId
: The ID of the List to be updated. -
name
: Updates the name of the List. -
description
: Updates the description of the List.
Endpoint Url
Authentication Methods
- OAuth 2.0 Authorization Code with PKCE
- OAuth 1.0a
Required Scopes
- tweet.read
- users.read
- list.write
Rate Limits
- User rate limit (OAuth 2.0 user Access Token): 300 requests per 15-minute window per each authenticated user
Reference
Implementation
Future<TwitterResponse<UpdateStateData, void>> updateListAsPrivate(
{required String listId, String? name, String? description});