DirectMessageDetails

data class DirectMessageDetails(val id: String, val type: Int, val authorId: String, val content: String, val embeds: List<Map<String, String>> = emptyList(), val attachmentsList: List<SimpleAttachments>? = null, val reactions: List<Reaction> = emptyList(), sourceQuote: JsonElement? = null, val readStatus: Boolean = false)(source)

私聊消息的内容详情

更多参考 文档

Constructors

Link copied to clipboard
constructor(id: String, type: Int, authorId: String, content: String, embeds: List<Map<String, String>> = emptyList(), attachmentsList: List<SimpleAttachments>? = null, reactions: List<Reaction> = emptyList(), sourceQuote: JsonElement? = null, readStatus: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "attachments")
val attachmentsList: List<SimpleAttachments>? = null
Link copied to clipboard
@SerialName(value = "author_id")
val authorId: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
val quote: Quote?
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "read_status")
val readStatus: Boolean = false
Link copied to clipboard
val type: Int