mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
impl String for ElementType
This commit is contained in:
parent
4f967b0a62
commit
577f0a1552
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user