ProfileUpdateRequest
public struct ProfileUpdateRequest
A root object that stores information about a profile update request.
-
The username of the user.
Declaration
Swift
public let username: String?
-
The nickname of the user.
Declaration
Swift
public let nickname: String?
-
The biography of the user.
Declaration
Swift
public let biography: String?
-
The profile image of the user,
Declaration
Swift
public let profileImage: URL?
-
The banner image of the user.
Declaration
Swift
public let bannerImage: URL?
-
Initialize a new instance of
ProfileUpdateRequest
to request changes in a user’s profile.Declaration
Swift
public init(username: String?, nickname: String?, biography: String?, profileImage: URL?, bannerImage: URL?)
Parameters
username
The new username of the user.
nickname
The new nickname of the user.
biography
The new biography of the user.
profileImage
The path to the new profile image of the user.
bannerImage
The path to the new banner image of the user.