OfflineAnnouncement
依据 from 创建 OfflineAnnouncement. 若 from 类型为 OfflineAnnouncement 则直接返回 from.
Since
2.7
inline fun OfflineAnnouncement(content: String, parameters: AnnouncementParameters = AnnouncementParameters.DEFAULT): OfflineAnnouncement
创建 AnnouncementParameters 并创建 OfflineAnnouncement.
Since
2.7
Parameters
content
公告内容
parameters
可选的附加参数
inline fun OfflineAnnouncement(content: String, parameters: AnnouncementParametersBuilder.() -> Unit): OfflineAnnouncement
创建 AnnouncementParameters 并创建 OfflineAnnouncement.
Since
2.7
Parameters
content
公告内容
parameters
可选的附加参数