Post

data class Post @ApiResultType constructor(val id: String, val categoryId: String? = null, val threadId: String, val replyId: String, val belongToPostId: String, val content: String, val status: Int? = null, val mention: List<String> = emptyList(), val mentionAll: Boolean = false, val mentionHere: Boolean = false, val mentionPart: List<String> = emptyList(), val mentionRolePart: List<String> = emptyList(), val channelPart: List<String> = emptyList(), val itemPart: List<String> = emptyList(), val createTime: Long? = null, val isUpdated: Boolean? = null, val user: User? = null, val replies: List<Post> = emptyList())(source)

帖子回复/评论详情。

Since

4.3.0

Author

Forte

Constructors

Link copied to clipboard
constructor(id: String, categoryId: String? = null, threadId: String, replyId: String, belongToPostId: String, content: String, status: Int? = null, mention: List<String> = emptyList(), mentionAll: Boolean = false, mentionHere: Boolean = false, mentionPart: List<String> = emptyList(), mentionRolePart: List<String> = emptyList(), channelPart: List<String> = emptyList(), itemPart: List<String> = emptyList(), createTime: Long? = null, isUpdated: Boolean? = null, user: User? = null, replies: List<Post> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "belong_to_post_id")
val belongToPostId: String

所属的评论的post_id

Link copied to clipboard
@SerialName(value = "category_id")
val categoryId: String? = null

分区id

Link copied to clipboard
@SerialName(value = "channel_part")
val channelPart: List<String>

频道详情

Link copied to clipboard

卡片消息

Link copied to clipboard
@SerialName(value = "create_time")
val createTime: Long? = null

创建时间

Link copied to clipboard
val id: String

评论/回复 id

Link copied to clipboard
@SerialName(value = "is_updated")
val isUpdated: Boolean? = null

是否被编辑过

Link copied to clipboard
@SerialName(value = "item_part")
val itemPart: List<String>

物品详情

Link copied to clipboard

@特定用户 的用户 ID 数组

Link copied to clipboard
@SerialName(value = "mention_all")
val mentionAll: Boolean = false

是否含有 @全体人员

Link copied to clipboard
@SerialName(value = "mention_here")
val mentionHere: Boolean = false

是否含有 @在线人员

Link copied to clipboard
@SerialName(value = "mention_part")
val mentionPart: List<String>

@特定用户 详情

Link copied to clipboard
@SerialName(value = "mention_role_part")
val mentionRolePart: List<String>

@特定角色 详情

Link copied to clipboard

这条回复的下的楼中楼

Link copied to clipboard
@SerialName(value = "reply_id")
val replyId: String

回复对象的id(回复主贴为0)

Link copied to clipboard
val status: Int? = null

回复状态, 1代表审核中,2代表审核通过, 3代表编辑审核中

Link copied to clipboard
@SerialName(value = "thread_id")
val threadId: String

所属帖子id

Link copied to clipboard
val user: User? = null

创建回复用户数据