Properties

Link copied to clipboard
@SerialName(value = "announces_type")
val announcesType: AnnouncesType

同 typeOfAnnounces,早期定义的类型,已经由 AnnouncesType 替代,但因为名称已被占用, 因此使用 typeOfAnnounces 作为替代。实际上的序列化属性 announces_type 是 typeOfAnnounces。

Link copied to clipboard

获取 announcesType 的结果并转为 Int

Link copied to clipboard
@SerialName(value = "channel_id")
val channelId: String

子频道 ID。

Link copied to clipboard
@SerialName(value = "guild_id")
val guildId: String

频道 ID。

Link copied to clipboard
@SerialName(value = "message_id")
val messageId: String

消息 ID。

Link copied to clipboard
@SerialName(value = "recommend_channels")
val recommendChannels: List<RecommendChannel>

推荐子频道对象数组。

Functions

Link copied to clipboard
operator fun component1(): String
Link copied to clipboard
operator fun component2(): String
Link copied to clipboard
operator fun component3(): String
Link copied to clipboard
operator fun component4(): UInt
Link copied to clipboard
Link copied to clipboard
fun copy(guildId: String = this.guildId, channelId: String = this.channelId, messageId: String = this.messageId, announcesType: UInt = this.announcesType.value.toUInt(), recommendChannels: List<RecommendChannel> = this.recommendChannels): Announces
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