mirror of
https://github.com/AynaLivePlayer/blivedm-go.git
synced 2025-12-06 11:22:50 +08:00
103 lines
4.0 KiB
Go
103 lines
4.0 KiB
Go
package message
|
|
|
|
type InteractWord struct {
|
|
Contribution struct {
|
|
Grade int `json:"grade"`
|
|
} `json:"contribution"`
|
|
ContributionV2 struct {
|
|
Grade int `json:"grade"`
|
|
RankType string `json:"rank_type"`
|
|
Text string `json:"text"`
|
|
} `json:"contribution_v2"`
|
|
ControlInfo struct {
|
|
Text string `json:"text"`
|
|
TextColor string `json:"text_color"`
|
|
Type int `json:"type"`
|
|
} `json:"control_info"`
|
|
CoreUserType int `json:"core_user_type"`
|
|
Dmscore int `json:"dmscore"`
|
|
FansMedal struct {
|
|
AnchorRoomid int `json:"anchor_roomid"`
|
|
GuardLevel int `json:"guard_level"`
|
|
IconId int `json:"icon_id"`
|
|
IsLighted int `json:"is_lighted"`
|
|
MedalColor int `json:"medal_color"`
|
|
MedalColorBorder int `json:"medal_color_border"`
|
|
MedalColorEnd int `json:"medal_color_end"`
|
|
MedalColorStart int `json:"medal_color_start"`
|
|
MedalLevel int `json:"medal_level"`
|
|
MedalName string `json:"medal_name"`
|
|
Score int `json:"score"`
|
|
Special string `json:"special"`
|
|
TargetId int `json:"target_id"`
|
|
} `json:"fans_medal"`
|
|
GroupMedal interface{} `json:"group_medal"`
|
|
Identities []int `json:"identities"`
|
|
IsMystery bool `json:"is_mystery"`
|
|
IsSpread int `json:"is_spread"`
|
|
MsgType int `json:"msg_type"` // MsgType {1: '进入', 2: '关注了', 3: '分享了', 4: '特别关注了', 5: '互粉了', 6: '为主播点赞了'}
|
|
PrivilegeType int `json:"privilege_type"`
|
|
RelationTail struct {
|
|
TailGuideText string `json:"tail_guide_text"`
|
|
TailIcon string `json:"tail_icon"`
|
|
TailType int `json:"tail_type"`
|
|
} `json:"relation_tail"`
|
|
Roomid int `json:"roomid"`
|
|
Score int64 `json:"score"`
|
|
SpreadDesc string `json:"spread_desc"`
|
|
SpreadInfo string `json:"spread_info"`
|
|
TailIcon int `json:"tail_icon"`
|
|
TailText string `json:"tail_text"`
|
|
Timestamp int `json:"timestamp"`
|
|
TriggerTime int64 `json:"trigger_time"`
|
|
Uid int `json:"uid"`
|
|
Uinfo struct {
|
|
Base struct {
|
|
Face string `json:"face"`
|
|
IsMystery bool `json:"is_mystery"`
|
|
Name string `json:"name"`
|
|
NameColor int `json:"name_color"`
|
|
NameColorStr string `json:"name_color_str"`
|
|
OfficialInfo interface{} `json:"official_info"`
|
|
OriginInfo interface{} `json:"origin_info"`
|
|
RiskCtrlInfo interface{} `json:"risk_ctrl_info"`
|
|
} `json:"base"`
|
|
Guard struct {
|
|
ExpiredStr string `json:"expired_str"`
|
|
Level int `json:"level"`
|
|
} `json:"guard"`
|
|
GuardLeader interface{} `json:"guard_leader"`
|
|
Medal struct {
|
|
Color int `json:"color"`
|
|
ColorBorder int `json:"color_border"`
|
|
ColorEnd int `json:"color_end"`
|
|
ColorStart int `json:"color_start"`
|
|
GuardIcon string `json:"guard_icon"`
|
|
GuardLevel int `json:"guard_level"`
|
|
HonorIcon string `json:"honor_icon"`
|
|
Id int `json:"id"`
|
|
IsLight int `json:"is_light"`
|
|
Level int `json:"level"`
|
|
Name string `json:"name"`
|
|
Ruid int `json:"ruid"`
|
|
Score int `json:"score"`
|
|
Typ int `json:"typ"`
|
|
UserReceiveCount int `json:"user_receive_count"`
|
|
V2MedalColorBorder string `json:"v2_medal_color_border"`
|
|
V2MedalColorEnd string `json:"v2_medal_color_end"`
|
|
V2MedalColorLevel string `json:"v2_medal_color_level"`
|
|
V2MedalColorStart string `json:"v2_medal_color_start"`
|
|
V2MedalColorText string `json:"v2_medal_color_text"`
|
|
} `json:"medal"`
|
|
Title interface{} `json:"title"`
|
|
UheadFrame interface{} `json:"uhead_frame"`
|
|
Uid int `json:"uid"`
|
|
Wealth struct {
|
|
DmIconKey string `json:"dm_icon_key"`
|
|
Level int `json:"level"`
|
|
} `json:"wealth"`
|
|
} `json:"uinfo"`
|
|
Uname string `json:"uname"`
|
|
UnameColor string `json:"uname_color"`
|
|
}
|