Post

class Post @ApiModelConstructor constructor(val guildId: String, val channelId: String, val authorId: String, val postInfo: PostInfo) : ForumSourceInfo(source)

话题频道内对主题的评论称为帖子

话题频道内对帖子主题评论或删除时生产事件中包含该对象

参考forum文档

Author

ForteScarlet

See also

Constructors

Link copied to clipboard
constructor(guildId: String, channelId: String, authorId: String, postInfo: PostInfo)

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 = "post_info")
val postInfo: PostInfo

帖子内容

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(): PostInfo
Link copied to clipboard
fun copy(guildId: String = this.guildId, channelId: String = this.channelId, authorId: String = this.authorId, postInfo: PostInfo = this.postInfo): Post
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