updateCredentials

abstract suspend fun updateCredentials(displayName: String? = null, note: String? = null, avatar: File? = null, header: File? = null, isBot: Boolean? = null, isDiscoverable: Boolean? = null, isLocked: Boolean? = null, isSensitive: Boolean? = null, privacy: StatusVisibility? = null, language: String? = null, fields: List<Field>? = null): Account

Updates the user's display and preferences.

Parameters

displayName

The account's display name.

note

The account bio.

avatar

The account's avatar.

header

The account's header image.

isBot

Whether the account should identify itself as a bot.

isDiscoverable

Whether the account should be shown in the profile directory.

isLocked

Whether manual approval of follow requests is required.

isSensitive

Whether to mark authored statuses as sensitive by default.

privacy

Default post privacy for authored statuses.

language

Default language to use for authored statuses. (ISO 6391)

fields

Profile metadata name and value.