BotIncomingSegment

Types

Link copied to clipboard
class Face(val faceId: Int, val summary: String, val isLarge: Boolean) : BotIncomingSegment

表情消息段

Link copied to clipboard
class File(val fileId: String, val fileName: String, val fileSize: Long, val fileHash: String? = null) : BotIncomingSegment

文件消息段

Link copied to clipboard
class Forward(val resId: String) : BotIncomingSegment

转发消息段

Link copied to clipboard
class Image(val fileId: String, val width: Int, val height: Int, val subType: ImageSubType, val summary: String) : BotIncomingSegment

图片消息段

Link copied to clipboard
class LightApp(val appName: String, val jsonPayload: String) : BotIncomingSegment

小程序消息段

Link copied to clipboard
class MarketFace(val url: String, val summary: String) : BotIncomingSegment

市场表情消息段

Link copied to clipboard
class Mention(val uin: Long? = null, val name: String) : BotIncomingSegment

提及(At)消息段

Link copied to clipboard
class Record(val fileId: String, val duration: Int) : BotIncomingSegment

语音消息段

Link copied to clipboard
class Reply(val sequence: Long) : BotIncomingSegment

回复消息段

Link copied to clipboard
class Text(val text: String) : BotIncomingSegment

文本消息段

Link copied to clipboard
class Video(val fileId: String, val duration: Int, val width: Int, val height: Int) : BotIncomingSegment

视频消息段