NewsResponse

@Serializable
data class NewsResponse(val success: Boolean? = null, val cause: String? = null, val news: List<NewsItem>? = null) : HypixelResponse

Lists all current news entires. These are viewable through Jerry on the island.

Constructors

Link copied to clipboard
constructor(success: Boolean? = null, cause: String? = null, news: List<NewsItem>? = null)

Properties

Link copied to clipboard
open override val cause: String? = null

The cause of the error, if the request failed.

Link copied to clipboard
@SerialName(value = "items")
val news: List<NewsItem>? = null

The list of current news' information.

Link copied to clipboard
@Transient
open override var rateLimit: RateLimit?
Link copied to clipboard
open override val success: Boolean? = null

Whether the request was successful.