1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

impl String for ElementType

This commit is contained in:
wdvxdr 2021-07-09 10:49:37 +08:00
parent 4f967b0a62
commit 577f0a1552
No known key found for this signature in database
GPG Key ID: 55FF1414A69CEBA6

View File

@ -100,19 +100,20 @@ const (
KuwoMusic // 酷我音乐 KuwoMusic // 酷我音乐
) )
//go:generate stringer -type ElementType -linecomment
const ( const (
Text ElementType = iota Text ElementType = iota // 文本
Image Image // 图片
Face Face // 表情
At At // 艾特
Reply Reply // 回复
Service Service // 服务
Forward Forward // 转发
File File // 文件
Voice Voice // 语音
Video Video // 视频
LightApp LightApp // 轻应用
RedBag RedBag // 红包
HoldingYourHand GroupGift = 280 HoldingYourHand GroupGift = 280
CuteCat GroupGift = 281 CuteCat GroupGift = 281