updatePrivateComment abstract method
Sets a private note on a user.
Parameters
-
accountId
: The ID of the Account in the database. -
text
: The comment to be set on that user. Provide an empty string or leave out this parameter to clear the currently set note.
Endpoint Url
- POST /api/v1/accounts/:id/note HTTP/1.1
Authentication Methods
- OAuth 2.0
Required Scopes
- write:accounts
Reference
Implementation
Future<MastodonResponse<Relationship>> updatePrivateComment({
required String accountId,
String text = '',
});