Companion

object Companion

Functions

Link copied to clipboard
inline fun create(content: String, parameters: AnnouncementParametersBuilder.() -> Unit): OfflineAnnouncement
fun create(content: String, parameters: AnnouncementParameters = AnnouncementParameters.DEFAULT): OfflineAnnouncement
Link copied to clipboard
inline fun from(announcement: Announcement): OfflineAnnouncement

创建 OfflineAnnouncement. 若 announcement 类型为 OfflineAnnouncement 则直接返回 announcement.

Properties

Link copied to clipboard
const val SERIAL_NAME: String