Thread

data class Thread(val guildId: String, val channelId: String, val authorId: String, val threadInfo: ThreadInfo) : ForumSourceInfo(source)

话题频道内发表的主帖称为主题

该事件在话题频道内新发表主题或删除时生产事件中包含该对象

参考forum文档

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(guildId: String, channelId: String, authorId: String, threadInfo: ThreadInfo)

Properties

Link copied to clipboard
@SerialName(value = "author_id")
open override val authorId: String

作者ID

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

子频道ID

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

频道ID

Link copied to clipboard
@SerialName(value = "thread_info")
val threadInfo: ThreadInfo

主帖内容