Data

data class Data(val id: String, val author: C2CMessageCreate.Author, val content: String, val timestamp: String, val attachments: List<Message.Attachment> = emptyList())(source)

The data of C2CMessageCreate.data.

Constructors

Link copied to clipboard
constructor(id: String, author: C2CMessageCreate.Author, content: String, timestamp: String, attachments: List<Message.Attachment> = emptyList())

Properties

Link copied to clipboard

富媒体文件附件,文件类型:"图片,语音,视频,文件" {"content_type": "", "filename": "", "height": "", "width": "", "size": "", "url": ""}

Link copied to clipboard
Link copied to clipboard

文本消息内容

Link copied to clipboard
val id: String

平台方消息ID,可以用于被动消息发送

Link copied to clipboard

消息生产时间(RFC3339)