messageType
约 156 字小于 1 分钟
2025-10-13
Karin API Docs / messageType
类型别名: messageType
messageType =
"text"|"image"|"at"|"face"|"reply"|"video"|"record"|"music"|"json"|"xml"|"markdown"|"markdownTpl"|"pasmsg"|"keyboard"|"button"|"longMsg"|"raw"|"basketball"|"dice"|"rps"|"bubbleFace"|"weather"|"location"|"share"|"gift"|"marketFace"|"contact"|"node"|"file"
定义于: packages/core/src/types/segment/segment.ts:33
Description
消息段类型
text: 文本image: 图片at: @face: 表情reply: 引用回复video: 视频record: 语音music: 音乐json: JSONxml: XMLmarkdown: MarkdownmarkdownTpl: Markdown模板pasmsg: 被动消息keyboard: 多维按钮button: 单行按钮longMsg: 长消息raw: 原始消息basketball: 篮球dice: 骰子rps: 猜拳bubbleFace: 气泡表情weather: 天气location: 位置share: 分享gift: 礼物marketFace: 商城表情contact: 联系人
