AnnouncementParameters

class AnnouncementParameters

群公告的附加参数.

可通过 AnnouncementParametersBuilder 构建. 默认实例为 DEFAULT.

Since

2.7

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun builder(): AnnouncementParametersBuilder

以该对象作为原型创建一个 AnnouncementParametersBuilder.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val image: AnnouncementImage? = null

群公告的图片,目前仅支持发送图片,不支持获得图片. 可通过 Announcements.uploadImage 上传图片.

Link copied to clipboard
val isPinned: Boolean = false

置顶. 可以有多个置顶公告

Link copied to clipboard
val requireConfirmation: Boolean = false

需要群成员确认

Link copied to clipboard
val sendToNewMember: Boolean = false

发送给新成员

Link copied to clipboard
val showEditCard: Boolean = false

显示能够引导群成员修改昵称的窗口

Link copied to clipboard
val showPopup: Boolean = false

使用弹窗