Companion

object Companion

Functions

Link copied to clipboard
inline suspend fun Group.publishAnnouncement(content: String, parameters: AnnouncementParametersBuilder.() -> Unit): OnlineAnnouncement
suspend fun Group.publishAnnouncement(content: String, parameters: AnnouncementParameters = AnnouncementParameters.DEFAULT): OnlineAnnouncement

在该群发布群公告并获得 OnlineAnnouncement, 需要管理员权限. 发布公告后群内将会出现 "有新公告" 系统提示.