feat: warnings

This commit is contained in:
rebelonion 2024-02-29 23:03:57 -06:00
parent 6e6429db82
commit a401ab89f3
3 changed files with 92 additions and 22 deletions

View file

@ -408,7 +408,11 @@ data class Notification(
@SerialName("media_id")
val mediaId: Int,
@SerialName("comment_id")
val commentId: Int
val commentId: Int,
@SerialName("type")
val type: Int? = null,
@SerialName("content")
val content: String? = null
)
@ -449,6 +453,8 @@ data class User(
val isMod: Boolean? = null,
@SerialName("total_votes")
val totalVotes: Int,
@SerialName("warnings")
val warnings: Int
) : java.io.Serializable {
companion object {
private const val serialVersionUID: Long = 1