UserUpdateParams

@objc(SBDUserUpdateParams)
public final class UserUpdateParams : NSObject, Encodable

An object to update user information

Since

4.0.0
  • User’s nickname

    Declaration

    Swift

    @objc
    public var nickname: String?
  • User’s profile image url

    Declaration

    Swift

    @objc
    public var profileImageURL: String? { get set }
  • User’s profile image data

    Declaration

    Swift

    @objc
    public var profileImageData: Data? { get set }
  • Preferred langauges for this user

    Declaration

    Swift

    @objc
    public var preferredLanguages: [String]?
  • User’s discovery keys for friends

    Declaration

    Swift

    @objc
    public var discoveryKeys: [String]?
  • Default constructor.

    Declaration

    Swift

    public override init()
  • Encodes this object.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance