ProfileUpdateRequest

public struct ProfileUpdateRequest

A root object that stores information about a profile update request.

Properties

Initializers

  • 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.