addProfileSubstringBan abstract method
- @POST.new('/admin/bans/profile-substring/add')
- @Body.new() required BanProfileSubstringRequest body,
Add profile-substring ban.
Ban a substring within a specific profile field (username, global_name, nickname, bio, or pronouns). Matching reuses the phrase blocklist normalization (whitespace, punctuation, zero-width, lookalikes).
body - Name not received - field will be skipped.
Implementation
@POST('/admin/bans/profile-substring/add')
Future<void> addProfileSubstringBan({
@Body() required BanProfileSubstringRequest body,
});