AnnouncementsApi

View and manage instance-wide announcements.

See also

Functions

Link copied to clipboard
abstract suspend fun addReaction(announcementId: String, name: String)

Adds a reaction to an announcement.

Link copied to clipboard
abstract suspend fun dismissAnnouncement(announcementId: String)

Dismisses an announcement.

Link copied to clipboard
abstract suspend fun getAnnouncements(withDismissed: Boolean? = null): List<Announcement>

See all currently active announcements set by admins.

Link copied to clipboard
abstract suspend fun removeReaction(announcementId: String, name: String)

Removes a reaction to an announcement.