Package-level declarations

Types

Link copied to clipboard
data class ForumBoard(val id: Int, val title: String, val description: String, val subboards: List<ForumSubBoard>)

Represents a board in the MyAnimeList forum.

Link copied to clipboard
data class ForumCategory(val title: String, val boards: List<ForumBoard>)

Represents a category in the MyAnimeList forum.

Link copied to clipboard
data class ForumPoll(val id: Int, val question: String, val isClosed: Boolean = false, val options: List<ForumPollOption>)

Represents a poll in a forum topic.

Link copied to clipboard
data class ForumPollOption(val id: Int, val text: String, val votes: Int)

Represents an option in a forum poll.

Link copied to clipboard
data class ForumPost(val id: Int, val number: Int, val createdAt: Instant, val createdBy: ForumUser, val body: String, val signature: String)

Represents a post in a forum topic.

Link copied to clipboard
data class ForumSubBoard(val id: Int, val title: String)

Represents a subboard in the MyAnimeList forum.

Link copied to clipboard
data class ForumTopic(val id: Int, val title: String, val createdAt: Instant, val createdBy: ForumUser, val numberOfPosts: Int, val lastPostCreatedAt: Instant, val lastPostCreatedBy: ForumUser, val isLocked: Boolean)

Represents a forum topic.

Link copied to clipboard
data class ForumTopicDetail(val title: String, val posts: PaginatedList<ForumPost>, val poll: ForumPoll? = null)

Represents detailed information about a forum topic, including its posts.

Link copied to clipboard
data class ForumUser(val id: Int, val name: String, val forumAvatar: String? = null)

Represents a forum user.