GetMsgResult

data class GetMsgResult @ApiResultConstructor constructor(val time: Int, val messageType: String, val messageId: IntID, val realId: IntID, val sender: JsonObject, val message: List<OneBotMessageSegment> = emptyList())(source)

GetMsgApi 的响应体。

Constructors

Link copied to clipboard
constructor(time: Int, messageType: String, messageId: IntID, realId: IntID, sender: JsonObject, message: List<OneBotMessageSegment> = emptyList())

Properties

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

消息 ID

Link copied to clipboard
@SerialName(value = "message_type")
val messageType: String

消息类型,同 消息事件

Link copied to clipboard
@SerialName(value = "real_id")
val realId: IntID

消息真实 ID

Link copied to clipboard
@ExperimentalSimbotAPI
val sender: JsonObject

发送人信息,同 消息事件

Link copied to clipboard
val time: Int

发送时间