UpdateCredentialsParams
public struct UpdateCredentialsParams : Codable
Undocumented
-
The display name to use for the profile.
Declaration
Swift
public var displayName: String? -
The account bio.
Declaration
Swift
public var note: String? -
Avatar image encoded using multipart/form-data
Declaration
Swift
public var avatar: Data? -
Undocumented
Declaration
Swift
public var avatarMimeType: String? -
Header image encoded using multipart/form-data
Declaration
Swift
public var header: Data? -
Undocumented
Declaration
Swift
public var headerMimeType: String? -
Whether manual approval of follow requests is required.
Declaration
Swift
public var locked: Bool? -
Whether the account has a bot flag.
Declaration
Swift
public var bot: Bool? -
Whether he account should be shown in the profile directory.
Declaration
Swift
public var discoverable: Bool? -
Additional metadata attached to a profile as name-value pairs
Declaration
Swift
public let fieldsAttributes: [String : Field]? -
An extra entity to be used with API methods to verify credentials and update credentials
Declaration
Swift
public let source: Source? -
init(displayName:note: avatar: avatarMimeType: header: headerMimeType: locked: bot: discoverable: fieldsAttributes: source: ) Undocumented
Declaration
Swift
public init(displayName: String? = nil, note: String? = nil, avatar: Data? = nil, avatarMimeType: String? = nil, header: Data? = nil, headerMimeType: String? = nil, locked: Bool? = nil, bot: Bool? = nil, discoverable: Bool? = nil, fieldsAttributes: [String : Field]? = nil, source: Source? = nil) -
Represents a profile field as a name-value pair
See moreDeclaration
Swift
public struct Field : Codable, Hashable, Sendable -
Undocumented
See moreDeclaration
Swift
public struct Source : Codable, Hashable, Sendable
UpdateCredentialsParams Structure Reference