Announces

data class Announces(val guildId: String, val channelId: String, val messageId: String, val announcesType: UInt, val recommendChannels: List<RecommendChannel> = emptyList())(source)

公告对象

Constructors

Link copied to clipboard
constructor(guildId: String, channelId: String, messageId: String, announcesType: UInt, recommendChannels: List<RecommendChannel> = emptyList())

Properties

Link copied to clipboard
@get:JvmName(name = "getAnnouncesType")
val announcesType: UInt

公告类别 0:成员公告 1:欢迎公告,默认成员公告

Link copied to clipboard

获取 announcesType 的结果并从 Unsigned integer type 转为Java可用的 Int

Link copied to clipboard

子频道 id

Link copied to clipboard

频道 id

Link copied to clipboard

消息 id