create

fun create(content: String, parameters: AnnouncementParameters = AnnouncementParameters.DEFAULT): OfflineAnnouncement

创建 OfflineAnnouncement.

Parameters

content

公告内容

parameters

可选的附加参数


inline fun create(content: String, parameters: AnnouncementParametersBuilder.() -> Unit): OfflineAnnouncement

创建 AnnouncementParameters 并创建 OfflineAnnouncement.

See also

Parameters

content

公告内容

parameters

可选的附加参数