MomentsUser

@objc(MomentsUser)
public final class MomentsUser : NSObject, Decodable

This data class represents a Moments User provided by you

  • userId Id of the user

    Declaration

    Swift

    @objc
    public let userId: String?
  • avatarURL avatarURL of the user

    Declaration

    Swift

    @objc
    public let avatarURL: String?
  • username username of the user

    Declaration

    Swift

    @objc
    public let username: String?
  • Declaration

    Swift

    public required init(from decoder: Decoder) throws