Body

class Body(val content: String, val msgType: Int)(source)

Constructors

Link copied to clipboard
constructor(content: String, msgType: Int)

Properties

Link copied to clipboard
Link copied to clipboard

文本内容

Link copied to clipboard
@SerialName(value = "event_id")
var eventId: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "message_reference")
var messageReference: Message.Reference?
Link copied to clipboard
@SerialName(value = "msg_id")
var msgId: String?
Link copied to clipboard
@SerialName(value = "msg_seq")
var msgSeq: Int?
Link copied to clipboard
@SerialName(value = "msg_type")
val msgType: Int

消息类型: 0 文本,2 是 markdown,3 ark 消息,4 embed,7 media 富媒体