ForumAnnouncement

@Serializable
data class ForumAnnouncement(val announcementId: Int, val title: String, val board: String, val boardId: Int, val section: String, val sectionId: Int, val author: BaseForumAuthor, val content: String, val startDate: Instant, val endDate: Instant) : BaseForumAnnouncement(source)

An announcement in the Tibia forums.

Constructors

Link copied to clipboard
constructor(announcementId: Int, title: String, board: String, boardId: Int, section: String, sectionId: Int, author: BaseForumAuthor, content: String, startDate: Instant, endDate: Instant)

Properties

Link copied to clipboard
open override val announcementId: Int

The internal ID of the announcement, used for linking.

Link copied to clipboard

The author that created the announcement.

Link copied to clipboard

The name of the board the announcement is posted in.

Link copied to clipboard

The internal ID of the board the announcement is in.

Link copied to clipboard

The content of the announcement.

Link copied to clipboard
val endDate: Instant

The end date of the announcement.

Link copied to clipboard

The name of the section the announcement is posted in.

Link copied to clipboard

The internal ID of the section the announcement is in.

Link copied to clipboard
val startDate: Instant

The start date of the announcement.

Link copied to clipboard
open override val title: String

The title of the announcement.

Link copied to clipboard
open val url: String

The URL to go to the specific announcement.