part

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2024 License: MIT Imports: 0 Imported by: 0

README


目录释义

目录 说明
./ json的golang struct表述

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiXliveRevenueV1WalletGetStatus added in v0.5.10

type ApiXliveRevenueV1WalletGetStatus struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		Silver          int `json:"silver"`
		Gold            int `json:"gold"`
		Coin            int `json:"coin"`
		Bp              int `json:"bp"`
		Coin2SilverLeft int `json:"coin_2_silver_left"`
		Silver2CoinLeft int `json:"silver_2_coin_left"`
		Num             int `json:"num"`
		Status          int `json:"status"`
		Vip             int `json:"vip"`
	} `json:"data"`
}

type ApixliveRevenueV1WalletGetRule added in v0.5.10

type ApixliveRevenueV1WalletGetRule struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		Coin2SilverRateNormal int     `json:"coin_2_silver_rate_normal"`
		Coin2SilverRateVip    int     `json:"coin_2_silver_rate_vip"`
		Coin2SilverRate       int     `json:"coin_2_silver_rate"`
		Coin2SilverFee        float64 `json:"coin_2_silver_fee"`
		Coin2SilverLimit      int     `json:"coin_2_silver_limit"`
		Coin2SilverLimitVip   int     `json:"coin_2_silver_limit_vip"`
		Silver2CoinPrice      int     `json:"silver_2_coin_price"`
		Silver2CoinLimit      int     `json:"silver_2_coin_limit"`
		Coin2SilverRealRate   int     `json:"coin_2_silver_real_rate"`
		Gold2SilverBonus      struct {
			Num10000  float64 `json:"10000"`
			Num100000 float64 `json:"100000"`
			Num500000 float64 `json:"500000"`
		} `json:"gold_2_silver_bonus"`
	} `json:"data"`
}

type FansMedal added in v0.5.11

type FansMedal struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		List []struct {
			Medal      FansMedalItem `json:"medal"`
			AnchorInfo struct {
				NickName string `json:"nick_name"`
				Avatar   string `json:"avatar"`
				Verify   int    `json:"verify"`
			} `json:"anchor_info"`
			Superscript interface{} `json:"superscript"`
			RoomInfo    struct {
				RoomID       int    `json:"room_id"`
				LivingStatus int    `json:"living_status"`
				URL          string `json:"url"`
			} `json:"room_info"`
		} `json:"list"`
		SpecialList []struct {
			Medal struct {
				UID              int    `json:"uid"`
				TargetID         int    `json:"target_id"`
				TargetName       string `json:"target_name"`
				MedalID          int    `json:"medal_id"`
				Level            int    `json:"level"`
				MedalName        string `json:"medal_name"`
				MedalColor       int    `json:"medal_color"`
				Intimacy         int    `json:"intimacy"`
				NextIntimacy     int    `json:"next_intimacy"`
				DayLimit         int    `json:"day_limit"`
				TodayFeed        int    `json:"today_feed"`
				MedalColorStart  int    `json:"medal_color_start"`
				MedalColorEnd    int    `json:"medal_color_end"`
				MedalColorBorder int    `json:"medal_color_border"`
				IsLighted        int    `json:"is_lighted"`
				GuardLevel       int    `json:"guard_level"`
				WearingStatus    int    `json:"wearing_status"`
				MedalIconID      int    `json:"medal_icon_id"`
				MedalIconURL     string `json:"medal_icon_url"`
				GuardIcon        string `json:"guard_icon"`
				HonorIcon        string `json:"honor_icon"`
				CanDelete        bool   `json:"can_delete"`
			} `json:"medal"`
			AnchorInfo struct {
				NickName string `json:"nick_name"`
				Avatar   string `json:"avatar"`
				Verify   int    `json:"verify"`
			} `json:"anchor_info"`
			Superscript interface{} `json:"superscript"`
			RoomInfo    struct {
				RoomID       int    `json:"room_id"`
				LivingStatus int    `json:"living_status"`
				URL          string `json:"url"`
			} `json:"room_info"`
		} `json:"special_list"`
		BottomBar interface{} `json:"bottom_bar"`
		PageInfo  struct {
			Number          int  `json:"number"`
			CurrentPage     int  `json:"current_page"`
			HasMore         bool `json:"has_more"`
			NextPage        int  `json:"next_page"`
			NextLightStatus int  `json:"next_light_status"`
			TotalPage       int  `json:"total_page"`
		} `json:"page_info"`
		TotalNumber int `json:"total_number"`
		HasMedal    int `json:"has_medal"`
	} `json:"data"`
}

type FansMedalItem added in v0.10.3

type FansMedalItem struct {
	UID              int    `json:"uid"`
	TargetID         int    `json:"target_id"`
	TargetName       string `json:"target_name"`
	MedalID          int    `json:"medal_id"`
	Level            int    `json:"level"`
	MedalName        string `json:"medal_name"`
	MedalColor       int    `json:"medal_color"`
	Intimacy         int    `json:"intimacy"`
	NextIntimacy     int    `json:"next_intimacy"`
	DayLimit         int    `json:"day_limit"`
	TodayFeed        int    `json:"today_feed"`
	MedalColorStart  int    `json:"medal_color_start"`
	MedalColorEnd    int    `json:"medal_color_end"`
	MedalColorBorder int    `json:"medal_color_border"`
	IsLighted        int    `json:"is_lighted"`
	GuardLevel       int    `json:"guard_level"`
	WearingStatus    int    `json:"wearing_status"`
	MedalIconID      int    `json:"medal_icon_id"`
	MedalIconURL     string `json:"medal_icon_url"`
	GuardIcon        string `json:"guard_icon"`
	HonorIcon        string `json:"honor_icon"`
	CanDelete        bool   `json:"can_delete"`
}

type Following added in v0.5.10

type Following struct {
	Code    int           `json:"code"`
	Message string        `json:"message"`
	TTL     int           `json:"ttl"`
	Data    FollowingData `json:"data"`
}

type FollowingData added in v0.5.10

type FollowingData struct {
	Title     string              `json:"title"`
	PageSize  int                 `json:"pageSize"`
	TotalPage int                 `json:"totalPage"`
	List      []FollowingDataList `json:"list"`
	Count     int                 `json:"count"`
}

type FollowingDataList added in v0.5.10

type FollowingDataList struct {
	Roomid           int    `json:"roomid"`
	UID              int    `json:"uid"`
	Uname            string `json:"uname"`
	Title            string `json:"title"`
	Face             string `json:"face"`
	LiveStatus       int    `json:"live_status"`
	RecordNum        int    `json:"record_num"`
	RecentRecordID   string `json:"recent_record_id"`
	IsAttention      int    `json:"is_attention"`
	Clipnum          int    `json:"clipnum"`
	FansNum          int    `json:"fans_num"`
	AreaName         string `json:"area_name"`
	AreaValue        string `json:"area_value"`
	Tags             string `json:"tags"`
	RecentRecordIDV2 string `json:"recent_record_id_v2"`
	RecordNumV2      int    `json:"record_num_v2"`
}

type GetDanmuInfo

type GetDanmuInfo struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		Group            string  `json:"group"`
		BusinessID       int     `json:"business_id"`
		RefreshRowFactor float64 `json:"refresh_row_factor"`
		RefreshRate      int     `json:"refresh_rate"`
		MaxDelay         int     `json:"max_delay"`
		Token            string  `json:"token"`
		HostList         []struct {
			Host    string `json:"host"`
			Port    int    `json:"port"`
			WssPort int    `json:"wss_port"`
			WsPort  int    `json:"ws_port"`
		} `json:"host_list"`
	} `json:"data"`
}

type GetGuardNum

type GetGuardNum struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		Info struct {
			Num                     int `json:"num"`
			Page                    int `json:"page"`
			Now                     int `json:"now"`
			AchievementLevel        int `json:"achievement_level"`
			AnchorGuardAchieveLevel int `json:"anchor_guard_achieve_level"`
		} `json:"info"`
		List []struct {
			UID           int    `json:"uid"`
			Ruid          int    `json:"ruid"`
			Rank          int    `json:"rank"`
			Username      string `json:"username"`
			Face          string `json:"face"`
			IsAlive       int    `json:"is_alive"`
			GuardLevel    int    `json:"guard_level"`
			GuardSubLevel int    `json:"guard_sub_level"`
			MedalInfo     struct {
				MedalName        string `json:"medal_name"`
				MedalLevel       int    `json:"medal_level"`
				MedalColorStart  int    `json:"medal_color_start"`
				MedalColorEnd    int    `json:"medal_color_end"`
				MedalColorBorder int    `json:"medal_color_border"`
			} `json:"medal_info"`
		} `json:"list"`
		Top3 []struct {
			UID           int    `json:"uid"`
			Ruid          int    `json:"ruid"`
			Rank          int    `json:"rank"`
			Username      string `json:"username"`
			Face          string `json:"face"`
			IsAlive       int    `json:"is_alive"`
			GuardLevel    int    `json:"guard_level"`
			GuardSubLevel int    `json:"guard_sub_level"`
			MedalInfo     struct {
				MedalName        string `json:"medal_name"`
				MedalLevel       int    `json:"medal_level"`
				MedalColorStart  int    `json:"medal_color_start"`
				MedalColorEnd    int    `json:"medal_color_end"`
				MedalColorBorder int    `json:"medal_color_border"`
			} `json:"medal_info"`
		} `json:"top3"`
		MyFollowInfo struct {
			GuardLevel    int    `json:"guard_level"`
			AccompanyDays int    `json:"accompany_days"`
			ExpiredTime   string `json:"expired_time"`
			AutoRenew     int    `json:"auto_renew"`
			RenewRemind   struct {
				Content string `json:"content"`
				Type    int    `json:"type"`
				Hint    string `json:"hint"`
			} `json:"renew_remind"`
			MedalInfo struct {
				MedalName        string `json:"medal_name"`
				MedalLevel       int    `json:"medal_level"`
				MedalColorStart  int    `json:"medal_color_start"`
				MedalColorEnd    int    `json:"medal_color_end"`
				MedalColorBorder int    `json:"medal_color_border"`
			} `json:"medal_info"`
			Rank int    `json:"rank"`
			Ruid int    `json:"ruid"`
			Face string `json:"face"`
		} `json:"my_follow_info"`
		GuardWarn struct {
			IsWarn      int    `json:"is_warn"`
			Warn        string `json:"warn"`
			Expired     int    `json:"expired"`
			WillExpired int    `json:"will_expired"`
			Address     string `json:"address"`
		} `json:"guard_warn"`
	} `json:"data"`
}

type GetHistory added in v0.5.9

type GetHistory struct {
	Code int `json:"code"`
	Data struct {
		Admin []interface{} `json:"admin"`
		Room  []struct {
			Text        string        `json:"text"`
			UID         int           `json:"uid"`
			Nickname    string        `json:"nickname"`
			UnameColor  string        `json:"uname_color"`
			Timeline    string        `json:"timeline"`
			Isadmin     int           `json:"isadmin"`
			Vip         int           `json:"vip"`
			Svip        int           `json:"svip"`
			Medal       []interface{} `json:"medal"`
			Title       []string      `json:"title"`
			UserLevel   []interface{} `json:"user_level"`
			Rank        int           `json:"rank"`
			Teamid      int           `json:"teamid"`
			Rnd         string        `json:"rnd"`
			UserTitle   string        `json:"user_title"`
			GuardLevel  int           `json:"guard_level"`
			Bubble      int           `json:"bubble"`
			BubbleColor string        `json:"bubble_color"`
			CheckInfo   struct {
				Ts int    `json:"ts"`
				Ct string `json:"ct"`
			} `json:"check_info"`
			Lpl int `json:"lpl"`
		} `json:"room"`
	} `json:"data"`
	Message string `json:"message"`
	Msg     string `json:"msg"`
}

type GetHotRank

type GetHotRank struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		List []struct {
			UID            int    `json:"uid"`
			Uname          string `json:"uname"`
			Face           string `json:"face"`
			Rank           int    `json:"rank"`
			Score          int    `json:"score"`
			AreaID         int    `json:"area_id"`
			AreaName       string `json:"area_name"`
			AreaParentID   int    `json:"area_parent_id"`
			AreaParentName string `json:"area_parent_name"`
			RoomID         int    `json:"room_id"`
			LiveStatus     int    `json:"live_status"`
			Verify         int    `json:"verify"`
		} `json:"list"`
		Own struct {
			UID            int    `json:"uid"`
			Uname          string `json:"uname"`
			Face           string `json:"face"`
			Rank           int    `json:"rank"`
			Score          int    `json:"score"`
			NeedScore      int    `json:"need_score"`
			AreaID         int    `json:"area_id"`
			AreaName       string `json:"area_name"`
			AreaParentID   int    `json:"area_parent_id"`
			AreaParentName string `json:"area_parent_name"`
			RoomID         int    `json:"room_id"`
			Verify         int    `json:"verify"`
		} `json:"own"`
		Data struct {
			Countdown    int `json:"countdown"`
			Refresh      int `json:"refresh"`
			IntervalTime int `json:"interval_time"`
			Jumpfrom     int `json:"jumpfrom"`
			BeforeTime   struct {
				Hour   string `json:"hour"`
				Minute string `json:"minute"`
			} `json:"before_time"`
			ParentAreaID   int           `json:"parent_area_id"`
			ParentAreaName string        `json:"parent_area_name"`
			ParentAreaList []interface{} `json:"parent_area_list"`
			SiteAreaID     int           `json:"site_area_id"`
		} `json:"data"`
	} `json:"data"`
}

type GetMyMedals added in v0.5.10

type GetMyMedals struct {
	Code    int              `json:"code"`
	Message string           `json:"message"`
	TTL     int              `json:"ttl"`
	Data    GetMyMedals_Data `json:"data"`
}

type GetMyMedals_Data added in v0.5.10

type GetMyMedals_Data struct {
	Items    []GetMyMedals_Items  `json:"items"`
	PageInfo GetMyMedals_PageInfo `json:"page_info"`
	Count    int                  `json:"count"`
}

type GetMyMedals_Items added in v0.5.10

type GetMyMedals_Items struct {
	CanDeleted       bool   `json:"can_deleted"`
	DayLimit         int    `json:"day_limit"`
	GuardLevel       int    `json:"guard_level"`
	GuardMedalTitle  string `json:"guard_medal_title"`
	Intimacy         int    `json:"intimacy"`
	IsLighted        int    `json:"is_lighted"`
	Level            int    `json:"level"`
	MedalName        string `json:"medal_name"`
	MedalColorBorder int    `json:"medal_color_border"`
	MedalColorEnd    int    `json:"medal_color_end"`
	MedalColorStart  int    `json:"medal_color_start"`
	MedalID          int    `json:"medal_id"`
	NextIntimacy     int    `json:"next_intimacy"`
	TodayFeed        int    `json:"today_feed"`
	Roomid           int    `json:"roomid"`
	Status           int    `json:"status"`
	TargetID         int    `json:"target_id"`
	TargetName       string `json:"target_name"`
	Uname            string `json:"uname"`
}

type GetMyMedals_PageInfo added in v0.5.10

type GetMyMedals_PageInfo struct {
	CurPage   int `json:"cur_page"`
	TotalPage int `json:"total_page"`
}

type GetOnlineGoldRank added in v0.5.11

type GetOnlineGoldRank struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		OnlineNum      int `json:"onlineNum"`
		OnlineRankItem []struct {
			UserRank  int    `json:"userRank"`
			UID       int    `json:"uid"`
			Name      string `json:"name"`
			Face      string `json:"face"`
			Score     int    `json:"score"`
			MedalInfo struct {
				GuardLevel       int    `json:"guardLevel"`
				MedalColorStart  int    `json:"medalColorStart"`
				MedalColorEnd    int    `json:"medalColorEnd"`
				MedalColorBorder int    `json:"medalColorBorder"`
				MedalName        string `json:"medalName"`
				Level            int    `json:"level"`
				TargetID         int    `json:"targetId"`
				IsLight          int    `json:"isLight"`
			} `json:"medalInfo"`
			GuardLevel int `json:"guard_level"`
		} `json:"OnlineRankItem"`
		OwnInfo struct {
			UID        int    `json:"uid"`
			Name       string `json:"name"`
			Face       string `json:"face"`
			Rank       int    `json:"rank"`
			NeedScore  int    `json:"needScore"`
			Score      int    `json:"score"`
			GuardLevel int    `json:"guard_level"`
		} `json:"ownInfo"`
		TipsText  string `json:"tips_text"`
		ValueText string `json:"value_text"`
	} `json:"data"`
}

type GetPopularAnchorRank added in v0.5.11

type GetPopularAnchorRank struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		List []struct {
			UID             int    `json:"uid"`
			Uname           string `json:"uname"`
			Face            string `json:"face"`
			Rank            int    `json:"rank"`
			Score           int    `json:"score"`
			RoomID          int    `json:"room_id"`
			LiveStatus      int    `json:"live_status"`
			Verify          int    `json:"verify"`
			UserNum         int    `json:"user_num"`
			LotStatus       int    `json:"lot_status"`
			RedPocketStatus int    `json:"red_pocket_status"`
			RoomLink        string `json:"room_link"`
		} `json:"list"`
		Anchor struct {
			UID               int    `json:"uid"`
			Uname             string `json:"uname"`
			Face              string `json:"face"`
			Rank              int    `json:"rank"`
			Score             int    `json:"score"`
			RankDistanceScore int    `json:"rank_distance_score"`
			RoomID            int    `json:"room_id"`
			Verify            int    `json:"verify"`
			UserNum           int    `json:"user_num"`
			FansClubStatus    int    `json:"fans_club_status"`
			InBlack           int    `json:"in_black"`
		} `json:"anchor"`
		UserMedal struct {
			MedalID          int    `json:"medal_id"`
			Level            int    `json:"level"`
			MedalName        string `json:"medal_name"`
			MedalColor       int    `json:"medal_color"`
			MedalColorStart  int    `json:"medal_color_start"`
			MedalColorEnd    int    `json:"medal_color_end"`
			MedalColorBorder int    `json:"medal_color_border"`
			IsLight          int    `json:"is_light"`
			GuardLevel       int    `json:"guard_level"`
			GuardIcon        string `json:"guard_icon"`
			HonorIcon        string `json:"honor_icon"`
		} `json:"user_medal"`
		Data struct {
			Countdown    int `json:"countdown"`
			Refresh      int `json:"refresh"`
			IntervalTime int `json:"interval_time"`
			Jumpfrom     int `json:"jumpfrom"`
		} `json:"data"`
	} `json:"data"`
}

type GetRoomBaseInfo added in v0.11.17

type GetRoomBaseInfo struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		ByRoomIds map[string]GetRoomBaseInfoD `json:"by_room_ids"`
	} `json:"data"`
}

type GetRoomBaseInfoD added in v0.11.17

type GetRoomBaseInfoD struct {
	RoomID     int `json:"room_id"`
	UID        int `json:"uid"`
	AreaID     int `json:"area_id"`
	LiveStatus int `json:"live_status"`
	// LiveURL        string `json:"live_url"`
	ParentAreaID int    `json:"parent_area_id"`
	Title        string `json:"title"`
	// ParentAreaName string `json:"parent_area_name"`
	// AreaName       string `json:"area_name"`
	LiveTime string `json:"live_time"`
	// Description    string `json:"description"`
	// Tags           string `json:"tags"`
	Attention  int    `json:"attention"`
	Online     int    `json:"online"`
	ShortID    int    `json:"short_id"`
	Uname      string `json:"uname"`
	Cover      string `json:"cover"`
	Background string `json:"background"`
	JoinSlide  int    `json:"join_slide"`
	LiveID     int64  `json:"live_id"`
	LiveIDStr  string `json:"live_id_str"`
}

type GetRoomPlayInfo added in v0.5.10

type GetRoomPlayInfo struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		RoomID          int   `json:"room_id"`
		ShortID         int   `json:"short_id"`
		UID             int   `json:"uid"`
		IsHidden        bool  `json:"is_hidden"`
		IsLocked        bool  `json:"is_locked"`
		IsPortrait      bool  `json:"is_portrait"`
		LiveStatus      int   `json:"live_status"`
		HiddenTill      int   `json:"hidden_till"`
		LockTill        int   `json:"lock_till"`
		Encrypted       bool  `json:"encrypted"`
		PwdVerified     bool  `json:"pwd_verified"`
		LiveTime        int   `json:"live_time"`
		RoomShield      int   `json:"room_shield"`
		AllSpecialTypes []int `json:"all_special_types"`
		PlayurlInfo     struct {
			ConfJSON string `json:"conf_json"`
			Playurl  struct {
				Cid     int `json:"cid"`
				GQnDesc []struct {
					Qn       int         `json:"qn"`
					Desc     string      `json:"desc"`
					HdrDesc  string      `json:"hdr_desc"`
					AttrDesc interface{} `json:"attr_desc"`
				} `json:"g_qn_desc"`
				Stream  []StreamType `json:"stream"`
				P2PData struct {
					P2P      bool        `json:"p2p"`
					P2PType  int         `json:"p2p_type"`
					MP2P     bool        `json:"m_p2p"`
					MServers interface{} `json:"m_servers"`
				} `json:"p2p_data"`
				DolbyQn interface{} `json:"dolby_qn"`
			} `json:"playurl"`
		} `json:"playurl_info"`
	} `json:"data"`
}

type GetWearedMedal added in v0.5.10

type GetWearedMedal struct {
	Code    int         `json:"code"`
	Msg     string      `json:"msg"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

type GetWearedMedal_Data added in v0.5.10

type GetWearedMedal_Data struct {
	GuardType        int                     `json:"guard_type"`
	Intimacy         int                     `json:"intimacy"`
	IsReceive        int                     `json:"is_receive"`
	LastWearTime     int                     `json:"last_wear_time"`
	Level            int                     `json:"level"`
	LplStatus        int                     `json:"lpl_status"`
	MasterAvailable  int                     `json:"master_available"`
	MasterStatus     int                     `json:"master_status"`
	MedalID          int                     `json:"medal_id"`
	MedalName        string                  `json:"medal_name"`
	ReceiveChannel   int                     `json:"receive_channel"`
	ReceiveTime      string                  `json:"receive_time"`
	Score            int                     `json:"score"`
	Source           int                     `json:"source"`
	Status           int                     `json:"status"`
	TargetID         int                     `json:"target_id"`
	TodayIntimacy    int                     `json:"today_intimacy"`
	UID              int                     `json:"uid"`
	TargetName       string                  `json:"target_name"`
	TargetFace       string                  `json:"target_face"`
	LiveStreamStatus int                     `json:"live_stream_status"`
	IconCode         int                     `json:"icon_code"`
	IconText         string                  `json:"icon_text"`
	Rank             string                  `json:"rank"`
	MedalColor       int                     `json:"medal_color"`
	MedalColorStart  int                     `json:"medal_color_start"`
	MedalColorEnd    int                     `json:"medal_color_end"`
	GuardLevel       int                     `json:"guard_level"`
	MedalColorBorder int                     `json:"medal_color_border"`
	IsLighted        int                     `json:"is_lighted"`
	TodayFeed        int                     `json:"today_feed"`
	DayLimit         int                     `json:"day_limit"`
	NextIntimacy     int                     `json:"next_intimacy"`
	CanDelete        bool                    `json:"can_delete"`
	IsUnion          int                     `json:"is_union"`
	Roominfo         GetWearedMedal_Roominfo `json:"roominfo"`
}

type GetWearedMedal_Roominfo added in v0.5.10

type GetWearedMedal_Roominfo struct {
	Title            string `json:"title"`
	RoomID           int    `json:"room_id"`
	UID              int    `json:"uid"`
	Online           int    `json:"online"`
	LiveTime         int    `json:"live_time"`
	LiveStatus       int    `json:"live_status"`
	ShortID          int    `json:"short_id"`
	Area             int    `json:"area"`
	AreaName         string `json:"area_name"`
	AreaV2ID         int    `json:"area_v2_id"`
	AreaV2Name       string `json:"area_v2_name"`
	AreaV2ParentName string `json:"area_v2_parent_name"`
	AreaV2ParentID   int    `json:"area_v2_parent_id"`
	Uname            string `json:"uname"`
	Face             string `json:"face"`
	TagName          string `json:"tag_name"`
	Tags             string `json:"tags"`
	CoverFromUser    string `json:"cover_from_user"`
	Keyframe         string `json:"keyframe"`
	LockTill         string `json:"lock_till"`
	HiddenTill       string `json:"hidden_till"`
	BroadcastType    int    `json:"broadcast_type"`
}

type History added in v0.5.11

type History struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		Cursor struct {
			Max      int    `json:"max"`
			ViewAt   int    `json:"view_at"`
			Business string `json:"business"`
			Ps       int    `json:"ps"`
		} `json:"cursor"`
		Tab []struct {
			Type string `json:"type"`
			Name string `json:"name"`
		} `json:"tab"`
		List []struct {
			Title     string      `json:"title"`
			LongTitle string      `json:"long_title"`
			Cover     string      `json:"cover"`
			Covers    interface{} `json:"covers"`
			URI       string      `json:"uri"`
			History   struct {
				Oid      int    `json:"oid"`
				Epid     int    `json:"epid"`
				Bvid     string `json:"bvid"`
				Page     int    `json:"page"`
				Cid      int    `json:"cid"`
				Part     string `json:"part"`
				Business string `json:"business"`
				Dt       int    `json:"dt"`
			} `json:"history"`
			Videos     int    `json:"videos"`
			AuthorName string `json:"author_name"`
			AuthorFace string `json:"author_face"`
			AuthorMid  int    `json:"author_mid"`
			ViewAt     int    `json:"view_at"`
			Progress   int    `json:"progress"`
			Badge      string `json:"badge"`
			ShowTitle  string `json:"show_title"`
			Duration   int    `json:"duration"`
			Current    string `json:"current"`
			Total      int    `json:"total"`
			NewDesc    string `json:"new_desc"`
			IsFinish   int    `json:"is_finish"`
			IsFav      int    `json:"is_fav"`
			Kid        int    `json:"kid"`
			TagName    string `json:"tag_name"`
			LiveStatus int    `json:"live_status"`
		} `json:"list"`
	} `json:"data"`
}

type Info

type Info struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		Mid       int    `json:"mid"`
		Name      string `json:"name"`
		Sex       string `json:"sex"`
		Face      string `json:"face"`
		Sign      string `json:"sign"`
		Rank      int    `json:"rank"`
		Level     int    `json:"level"`
		Jointime  int    `json:"jointime"`
		Moral     int    `json:"moral"`
		Silence   int    `json:"silence"`
		Birthday  string `json:"birthday"`
		Coins     int    `json:"coins"`
		FansBadge bool   `json:"fans_badge"`
		Official  struct {
			Role  int    `json:"role"`
			Title string `json:"title"`
			Desc  string `json:"desc"`
			Type  int    `json:"type"`
		} `json:"official"`
		Vip struct {
			Type       int   `json:"type"`
			Status     int   `json:"status"`
			DueDate    int64 `json:"due_date"`
			VipPayType int   `json:"vip_pay_type"`
			ThemeType  int   `json:"theme_type"`
			Label      struct {
				Path        string `json:"path"`
				Text        string `json:"text"`
				LabelTheme  string `json:"label_theme"`
				TextColor   string `json:"text_color"`
				BgStyle     int    `json:"bg_style"`
				BgColor     string `json:"bg_color"`
				BorderColor string `json:"border_color"`
			} `json:"label"`
			AvatarSubscript    int    `json:"avatar_subscript"`
			NicknameColor      string `json:"nickname_color"`
			Role               int    `json:"role"`
			AvatarSubscriptURL string `json:"avatar_subscript_url"`
		} `json:"vip"`
		Pendant struct {
			Pid               int    `json:"pid"`
			Name              string `json:"name"`
			Image             string `json:"image"`
			Expire            int    `json:"expire"`
			ImageEnhance      string `json:"image_enhance"`
			ImageEnhanceFrame string `json:"image_enhance_frame"`
		} `json:"pendant"`
		Nameplate struct {
			Nid        int    `json:"nid"`
			Name       string `json:"name"`
			Image      string `json:"image"`
			ImageSmall string `json:"image_small"`
			Level      string `json:"level"`
			Condition  string `json:"condition"`
		} `json:"nameplate"`
		IsFollowed bool   `json:"is_followed"`
		TopPhoto   string `json:"top_photo"`
		Theme      struct {
		} `json:"theme"`
		SysNotice struct {
		} `json:"sys_notice"`
		LiveRoom struct {
			Roomstatus    int    `json:"roomStatus"`
			Livestatus    int    `json:"liveStatus"`
			URL           string `json:"url"`
			Title         string `json:"title"`
			Cover         string `json:"cover"`
			Online        int    `json:"online"`
			Roomid        int    `json:"roomid"`
			Roundstatus   int    `json:"roundStatus"`
			BroadcastType int    `json:"broadcast_type"`
		} `json:"live_room"`
	} `json:"data"`
}

type NEPTUNE_IS_MY_WAIFU added in v0.5.10

type NEPTUNE_IS_MY_WAIFU struct {
	RoomInitRes struct {
		Code    int    `json:"code"`
		Message string `json:"message"`
		TTL     int    `json:"ttl"`
		Data    struct {
			RoomID          int           `json:"room_id"`
			ShortID         int           `json:"short_id"`
			UID             int           `json:"uid"`
			IsHidden        bool          `json:"is_hidden"`
			IsLocked        bool          `json:"is_locked"`
			IsPortrait      bool          `json:"is_portrait"`
			LiveStatus      int           `json:"live_status"`
			HiddenTill      int           `json:"hidden_till"`
			LockTill        int           `json:"lock_till"`
			Encrypted       bool          `json:"encrypted"`
			PwdVerified     bool          `json:"pwd_verified"`
			LiveTime        int           `json:"live_time"`
			RoomShield      int           `json:"room_shield"`
			AllSpecialTypes []interface{} `json:"all_special_types"`
			PlayurlInfo     struct {
				ConfJSON string `json:"conf_json"`
				Playurl  struct {
					Cid     int `json:"cid"`
					GQnDesc []struct {
						Qn       int         `json:"qn"`
						Desc     string      `json:"desc"`
						HdrDesc  string      `json:"hdr_desc"`
						AttrDesc interface{} `json:"attr_desc"`
					} `json:"g_qn_desc"`
					Stream  []StreamType `json:"stream"`
					P2PData struct {
						P2P      bool     `json:"p2p"`
						P2PType  int      `json:"p2p_type"`
						MP2P     bool     `json:"m_p2p"`
						MServers []string `json:"m_servers"`
					} `json:"p2p_data"`
					DolbyQn interface{} `json:"dolby_qn"`
				} `json:"playurl"`
			} `json:"playurl_info"`
		} `json:"data"`
	} `json:"roomInitRes"`
	RoomInfoRes struct {
		Code    int    `json:"code"`
		Message string `json:"message"`
		TTL     int    `json:"ttl"`
		Data    struct {
			RoomInfo struct {
				UID            int    `json:"uid"`
				RoomID         int    `json:"room_id"`
				ShortID        int    `json:"short_id"`
				Title          string `json:"title"`
				Cover          string `json:"cover"`
				Tags           string `json:"tags"`
				Background     string `json:"background"`
				Description    string `json:"description"`
				LiveStatus     int    `json:"live_status"`
				LiveStartTime  int    `json:"live_start_time"`
				LiveScreenType int    `json:"live_screen_type"`
				LockStatus     int    `json:"lock_status"`
				LockTime       int    `json:"lock_time"`
				HiddenStatus   int    `json:"hidden_status"`
				HiddenTime     int    `json:"hidden_time"`
				AreaID         int    `json:"area_id"`
				AreaName       string `json:"area_name"`
				ParentAreaID   int    `json:"parent_area_id"`
				ParentAreaName string `json:"parent_area_name"`
				Keyframe       string `json:"keyframe"`
				SpecialType    int    `json:"special_type"`
				UpSession      string `json:"up_session"`
				PkStatus       int    `json:"pk_status"`
				IsStudio       bool   `json:"is_studio"`
				Pendants       struct {
					Frame struct {
						Name  string `json:"name"`
						Value string `json:"value"`
						Desc  string `json:"desc"`
					} `json:"frame"`
				} `json:"pendants"`
				OnVoiceJoin int `json:"on_voice_join"`
				Online      int `json:"online"`
				RoomType    struct {
					Two3    int `json:"2-3"`
					Three21 int `json:"3-21"`
				} `json:"room_type"`
			} `json:"room_info"`
			AnchorInfo struct {
				BaseInfo struct {
					Uname        string `json:"uname"`
					Face         string `json:"face"`
					Gender       string `json:"gender"`
					OfficialInfo struct {
						Role     int    `json:"role"`
						Title    string `json:"title"`
						Desc     string `json:"desc"`
						IsNft    int    `json:"is_nft"`
						NftDmark string `json:"nft_dmark"`
					} `json:"official_info"`
				} `json:"base_info"`
				LiveInfo struct {
					Level        int           `json:"level"`
					LevelColor   int           `json:"level_color"`
					Score        int           `json:"score"`
					UpgradeScore int           `json:"upgrade_score"`
					Current      []int         `json:"current"`
					Next         []interface{} `json:"next"`
					Rank         string        `json:"rank"`
				} `json:"live_info"`
				RelationInfo struct {
					Attention int `json:"attention"`
				} `json:"relation_info"`
				MedalInfo struct {
					MedalName string `json:"medal_name"`
					MedalID   int    `json:"medal_id"`
					Fansclub  int    `json:"fansclub"`
				} `json:"medal_info"`
				GiftInfo interface{} `json:"gift_info"`
			} `json:"anchor_info"`
			NewsInfo struct {
				UID     int    `json:"uid"`
				Ctime   string `json:"ctime"`
				Content string `json:"content"`
			} `json:"news_info"`
			RankdbInfo struct {
				Roomid    int    `json:"roomid"`
				RankDesc  string `json:"rank_desc"`
				Color     string `json:"color"`
				H5URL     string `json:"h5_url"`
				WebURL    string `json:"web_url"`
				Timestamp int    `json:"timestamp"`
			} `json:"rankdb_info"`
			AreaRankInfo struct {
				AreaRank struct {
					Index int    `json:"index"`
					Rank  string `json:"rank"`
				} `json:"areaRank"`
				LiveRank struct {
					Rank string `json:"rank"`
				} `json:"liveRank"`
			} `json:"area_rank_info"`
			BattleRankEntryInfo interface{} `json:"battle_rank_entry_info"`
			TabInfo             struct {
				List []struct {
					Type      string `json:"type"`
					Desc      string `json:"desc"`
					IsFirst   int    `json:"isFirst"`
					IsEvent   int    `json:"isEvent"`
					EventType string `json:"eventType"`
					ListType  string `json:"listType"`
					APIPrefix string `json:"apiPrefix"`
					RankName  string `json:"rank_name"`
				} `json:"list"`
			} `json:"tab_info"`
			ActivityInitInfo struct {
				EventList []interface{} `json:"eventList"`
				WeekInfo  struct {
					BannerInfo interface{} `json:"bannerInfo"`
					GiftName   interface{} `json:"giftName"`
				} `json:"weekInfo"`
				GiftName interface{} `json:"giftName"`
				Lego     struct {
					Timestamp int    `json:"timestamp"`
					Config    string `json:"config"`
				} `json:"lego"`
			} `json:"activity_init_info"`
			VoiceJoinInfo struct {
				Status struct {
					Open        int    `json:"open"`
					AnchorOpen  int    `json:"anchor_open"`
					Status      int    `json:"status"`
					UID         int    `json:"uid"`
					UserName    string `json:"user_name"`
					HeadPic     string `json:"head_pic"`
					Guard       int    `json:"guard"`
					StartAt     int    `json:"start_at"`
					CurrentTime int    `json:"current_time"`
				} `json:"status"`
				Icons struct {
					IconClose    string `json:"icon_close"`
					IconOpen     string `json:"icon_open"`
					IconWait     string `json:"icon_wait"`
					IconStarting string `json:"icon_starting"`
				} `json:"icons"`
				WebShareLink string `json:"web_share_link"`
			} `json:"voice_join_info"`
			AdBannerInfo struct {
				Data []struct {
					ID                   int         `json:"id"`
					Title                string      `json:"title"`
					Location             string      `json:"location"`
					Position             int         `json:"position"`
					Pic                  string      `json:"pic"`
					Link                 string      `json:"link"`
					Weight               int         `json:"weight"`
					RoomID               int         `json:"room_id"`
					UpID                 int         `json:"up_id"`
					ParentAreaID         int         `json:"parent_area_id"`
					AreaID               int         `json:"area_id"`
					LiveStatus           int         `json:"live_status"`
					AvID                 int         `json:"av_id"`
					IsAd                 bool        `json:"is_ad"`
					AdTransparentContent interface{} `json:"ad_transparent_content"`
					ShowAdIcon           bool        `json:"show_ad_icon"`
				} `json:"data"`
			} `json:"ad_banner_info"`
			SkinInfo struct {
				ID          int    `json:"id"`
				SkinName    string `json:"skin_name"`
				SkinConfig  string `json:"skin_config"`
				ShowText    string `json:"show_text"`
				SkinURL     string `json:"skin_url"`
				StartTime   int    `json:"start_time"`
				EndTime     int    `json:"end_time"`
				CurrentTime int    `json:"current_time"`
			} `json:"skin_info"`
			WebBannerInfo struct {
				ID               int    `json:"id"`
				Title            string `json:"title"`
				Left             string `json:"left"`
				Right            string `json:"right"`
				JumpURL          string `json:"jump_url"`
				BgColor          string `json:"bg_color"`
				HoverColor       string `json:"hover_color"`
				TextBgColor      string `json:"text_bg_color"`
				TextHoverColor   string `json:"text_hover_color"`
				LinkText         string `json:"link_text"`
				LinkColor        string `json:"link_color"`
				InputColor       string `json:"input_color"`
				InputTextColor   string `json:"input_text_color"`
				InputHoverColor  string `json:"input_hover_color"`
				InputBorderColor string `json:"input_border_color"`
				InputSearchColor string `json:"input_search_color"`
			} `json:"web_banner_info"`
			LolInfo        interface{} `json:"lol_info"`
			PkInfo         interface{} `json:"pk_info"`
			BattleInfo     interface{} `json:"battle_info"`
			SilentRoomInfo struct {
				Type       string `json:"type"`
				Level      int    `json:"level"`
				Second     int    `json:"second"`
				ExpireTime int    `json:"expire_time"`
			} `json:"silent_room_info"`
			SwitchInfo struct {
				CloseGuard   bool `json:"close_guard"`
				CloseGift    bool `json:"close_gift"`
				CloseOnline  bool `json:"close_online"`
				CloseDanmaku bool `json:"close_danmaku"`
			} `json:"switch_info"`
			RecordSwitchInfo interface{} `json:"record_switch_info"`
			RoomConfigInfo   struct {
				DmText string `json:"dm_text"`
			} `json:"room_config_info"`
			GiftMemoryInfo struct {
				List interface{} `json:"list"`
			} `json:"gift_memory_info"`
			NewSwitchInfo struct {
				RoomSocket           int `json:"room-socket"`
				RoomPropSend         int `json:"room-prop-send"`
				RoomSailing          int `json:"room-sailing"`
				RoomInfoPopularity   int `json:"room-info-popularity"`
				RoomDanmakuEditor    int `json:"room-danmaku-editor"`
				RoomEffect           int `json:"room-effect"`
				RoomFansMedal        int `json:"room-fans_medal"`
				RoomReport           int `json:"room-report"`
				RoomFeedback         int `json:"room-feedback"`
				RoomPlayerWatermark  int `json:"room-player-watermark"`
				RoomRecommendLiveOff int `json:"room-recommend-live_off"`
				RoomActivity         int `json:"room-activity"`
				RoomWebBanner        int `json:"room-web_banner"`
				RoomSilverSeedsBox   int `json:"room-silver_seeds-box"`
				RoomWishingBottle    int `json:"room-wishing_bottle"`
				RoomBoard            int `json:"room-board"`
				RoomSupplication     int `json:"room-supplication"`
				RoomHourRank         int `json:"room-hour_rank"`
				RoomWeekRank         int `json:"room-week_rank"`
				RoomAnchorRank       int `json:"room-anchor_rank"`
				RoomInfoIntegral     int `json:"room-info-integral"`
				RoomSuperChat        int `json:"room-super-chat"`
				RoomTab              int `json:"room-tab"`
				RoomHotRank          int `json:"room-hot-rank"`
				FansMedalProgress    int `json:"fans-medal-progress"`
				GiftBayScreen        int `json:"gift-bay-screen"`
				RoomEnter            int `json:"room-enter"`
				RoomMyIdol           int `json:"room-my-idol"`
				RoomTopic            int `json:"room-topic"`
				FansClub             int `json:"fans-club"`
				RoomPopularRank      int `json:"room-popular-rank"`
				MicUserGift          int `json:"mic_user_gift"`
				NewRoomAreaRank      int `json:"new-room-area-rank"`
			} `json:"new_switch_info"`
			SuperChatInfo struct {
				Status      int           `json:"status"`
				JumpURL     string        `json:"jump_url"`
				Icon        string        `json:"icon"`
				RankedMark  int           `json:"ranked_mark"`
				MessageList []interface{} `json:"message_list"`
			} `json:"super_chat_info"`
			OnlineGoldRankInfoV2 struct {
				List []struct {
					UID        int64  `json:"uid"`
					Face       string `json:"face"`
					Uname      string `json:"uname"`
					Score      string `json:"score"`
					Rank       int    `json:"rank"`
					GuardLevel int    `json:"guard_level"`
				} `json:"list"`
			} `json:"online_gold_rank_info_v2"`
			DmBrushInfo struct {
				MinTime     int `json:"min_time"`
				BrushCount  int `json:"brush_count"`
				SliceCount  int `json:"slice_count"`
				StorageTime int `json:"storage_time"`
			} `json:"dm_brush_info"`
			DmEmoticonInfo struct {
				IsOpenEmoticon   int `json:"is_open_emoticon"`
				IsShieldEmoticon int `json:"is_shield_emoticon"`
			} `json:"dm_emoticon_info"`
			DmTagInfo struct {
				DmTag           int           `json:"dm_tag"`
				Platform        []interface{} `json:"platform"`
				Extra           string        `json:"extra"`
				DmChronosExtra  string        `json:"dm_chronos_extra"`
				DmMode          []interface{} `json:"dm_mode"`
				DmSettingSwitch int           `json:"dm_setting_switch"`
				MaterialConf    interface{}   `json:"material_conf"`
			} `json:"dm_tag_info"`
			TopicInfo struct {
				TopicID   int    `json:"topic_id"`
				TopicName string `json:"topic_name"`
			} `json:"topic_info"`
			GameInfo struct {
				GameStatus int `json:"game_status"`
			} `json:"game_info"`
			WatchedShow struct {
				Switch       bool   `json:"switch"`
				Num          int    `json:"num"`
				TextSmall    string `json:"text_small"`
				TextLarge    string `json:"text_large"`
				Icon         string `json:"icon"`
				IconLocation int    `json:"icon_location"`
				IconWeb      string `json:"icon_web"`
			} `json:"watched_show"`
			TopicRoomInfo struct {
				InteractiveH5URL string `json:"interactive_h5_url"`
				Watermark        int    `json:"watermark"`
			} `json:"topic_room_info"`
			ShowReserveStatus bool `json:"show_reserve_status"`
			SecondCreateInfo  struct {
				ClickPermission  int    `json:"click_permission"`
				CommonPermission int    `json:"common_permission"`
				IconName         string `json:"icon_name"`
				IconURL          string `json:"icon_url"`
				URL              string `json:"url"`
			} `json:"second_create_info"`
			PlayTogetherInfo struct {
				Switch   int `json:"switch"`
				IconList []struct {
					Icon    string `json:"icon"`
					Title   string `json:"title"`
					JumpURL string `json:"jump_url"`
					Status  int    `json:"status"`
				} `json:"icon_list"`
			} `json:"play_together_info"`
			CloudGameInfo struct {
				IsGaming int `json:"is_gaming"`
			} `json:"cloud_game_info"`
			LikeInfoV3 struct {
				TotalLikes    int      `json:"total_likes"`
				ClickBlock    bool     `json:"click_block"`
				CountBlock    bool     `json:"count_block"`
				GuildEmoText  string   `json:"guild_emo_text"`
				GuildDmText   string   `json:"guild_dm_text"`
				LikeDmText    string   `json:"like_dm_text"`
				HandIcons     []string `json:"hand_icons"`
				DmIcons       []string `json:"dm_icons"`
				EggshellsIcon string   `json:"eggshells_icon"`
				CountShowTime int      `json:"count_show_time"`
				ProcessIcon   string   `json:"process_icon"`
				ProcessColor  string   `json:"process_color"`
			} `json:"like_info_v3"`
			LivePlayInfo struct {
				ShowWidgetBanner bool `json:"show_widget_banner"`
			} `json:"live_play_info"`
			MultiVoice struct {
				SwitchStatus int           `json:"switch_status"`
				Members      []interface{} `json:"members"`
			} `json:"multi_voice"`
			PopularRankInfo struct {
				Rank       int    `json:"rank"`
				Countdown  int    `json:"countdown"`
				Timestamp  int    `json:"timestamp"`
				URL        string `json:"url"`
				OnRankName string `json:"on_rank_name"`
				RankName   string `json:"rank_name"`
			} `json:"popular_rank_info"`
			NewAreaRankInfo struct {
				Items []struct {
					ConfID      int    `json:"conf_id"`
					RankName    string `json:"rank_name"`
					UID         int    `json:"uid"`
					Rank        int    `json:"rank"`
					IconURLBlue string `json:"icon_url_blue"`
					IconURLPink string `json:"icon_url_pink"`
					IconURLGrey string `json:"icon_url_grey"`
					JumpURLLink string `json:"jump_url_link"`
					JumpURLPc   string `json:"jump_url_pc"`
					JumpURLPink string `json:"jump_url_pink"`
					JumpURLWeb  string `json:"jump_url_web"`
				} `json:"items"`
				RotationCycleTimeWeb int `json:"rotation_cycle_time_web"`
			} `json:"new_area_rank_info"`
			GiftStar struct {
				Show bool `json:"show"`
			} `json:"gift_star"`
			VideoConnectionInfo interface{} `json:"video_connection_info"`
			PlayerThrottleInfo  struct {
				Status              int `json:"status"`
				NormalSleepTime     int `json:"normal_sleep_time"`
				FullscreenSleepTime int `json:"fullscreen_sleep_time"`
				TabSleepTime        int `json:"tab_sleep_time"`
				PromptTime          int `json:"prompt_time"`
			} `json:"player_throttle_info"`
			GuardInfo struct {
				Count                   int `json:"count"`
				AnchorGuardAchieveLevel int `json:"anchor_guard_achieve_level"`
			} `json:"guard_info"`
			HotRankInfo interface{} `json:"hot_rank_info"`
		} `json:"data"`
	} `json:"roomInfoRes"`
	UserLabInfo struct {
		Code    int    `json:"code"`
		Message string `json:"message"`
		TTL     int    `json:"ttl"`
		Data    struct {
			Configs struct {
				Adaptive struct {
					Status int    `json:"status"`
					Option string `json:"option"`
				} `json:"adaptive"`
				Dark struct {
					Status int    `json:"status"`
					Option string `json:"option"`
				} `json:"dark"`
				Mirror struct {
					Status int    `json:"status"`
					Option string `json:"option"`
				} `json:"mirror"`
			} `json:"configs"`
			UID int `json:"uid"`
		} `json:"data"`
	} `json:"userLabInfo"`
	ExperimentalPlayerOptions struct {
	} `json:"experimentalPlayerOptions"`
}
type Nav struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		IsLogin       bool   `json:"isLogin"`
		EmailVerified int    `json:"email_verified"`
		Face          string `json:"face"`
		FaceNft       int    `json:"face_nft"`
		FaceNftType   int    `json:"face_nft_type"`
		LevelInfo     struct {
			CurrentLevel int    `json:"current_level"`
			CurrentMin   int    `json:"current_min"`
			CurrentExp   int    `json:"current_exp"`
			NextExp      string `json:"next_exp"`
		} `json:"level_info"`
		Mid            int     `json:"mid"`
		MobileVerified int     `json:"mobile_verified"`
		Money          float64 `json:"money"`
		Moral          int     `json:"moral"`
		Official       struct {
			Role  int    `json:"role"`
			Title string `json:"title"`
			Desc  string `json:"desc"`
			Type  int    `json:"type"`
		} `json:"official"`
		OfficialVerify struct {
			Type int    `json:"type"`
			Desc string `json:"desc"`
		} `json:"officialVerify"`
		Pendant struct {
			Pid               int    `json:"pid"`
			Name              string `json:"name"`
			Image             string `json:"image"`
			Expire            int    `json:"expire"`
			ImageEnhance      string `json:"image_enhance"`
			ImageEnhanceFrame string `json:"image_enhance_frame"`
		} `json:"pendant"`
		Scores       int    `json:"scores"`
		Uname        string `json:"uname"`
		VipDueDate   int64  `json:"vipDueDate"`
		VipStatus    int    `json:"vipStatus"`
		VipType      int    `json:"vipType"`
		VipPayType   int    `json:"vip_pay_type"`
		VipThemeType int    `json:"vip_theme_type"`
		VipLabel     struct {
			Path                  string `json:"path"`
			Text                  string `json:"text"`
			LabelTheme            string `json:"label_theme"`
			TextColor             string `json:"text_color"`
			BgStyle               int    `json:"bg_style"`
			BgColor               string `json:"bg_color"`
			BorderColor           string `json:"border_color"`
			UseImgLabel           bool   `json:"use_img_label"`
			ImgLabelURIHans       string `json:"img_label_uri_hans"`
			ImgLabelURIHant       string `json:"img_label_uri_hant"`
			ImgLabelURIHansStatic string `json:"img_label_uri_hans_static"`
			ImgLabelURIHantStatic string `json:"img_label_uri_hant_static"`
		} `json:"vip_label"`
		VipAvatarSubscript int    `json:"vip_avatar_subscript"`
		VipNicknameColor   string `json:"vip_nickname_color"`
		Vip                struct {
			Type       int   `json:"type"`
			Status     int   `json:"status"`
			DueDate    int64 `json:"due_date"`
			VipPayType int   `json:"vip_pay_type"`
			ThemeType  int   `json:"theme_type"`
			Label      struct {
				Path                  string `json:"path"`
				Text                  string `json:"text"`
				LabelTheme            string `json:"label_theme"`
				TextColor             string `json:"text_color"`
				BgStyle               int    `json:"bg_style"`
				BgColor               string `json:"bg_color"`
				BorderColor           string `json:"border_color"`
				UseImgLabel           bool   `json:"use_img_label"`
				ImgLabelURIHans       string `json:"img_label_uri_hans"`
				ImgLabelURIHant       string `json:"img_label_uri_hant"`
				ImgLabelURIHansStatic string `json:"img_label_uri_hans_static"`
				ImgLabelURIHantStatic string `json:"img_label_uri_hant_static"`
			} `json:"label"`
			AvatarSubscript    int    `json:"avatar_subscript"`
			NicknameColor      string `json:"nickname_color"`
			Role               int    `json:"role"`
			AvatarSubscriptURL string `json:"avatar_subscript_url"`
			TvVipStatus        int    `json:"tv_vip_status"`
			TvVipPayType       int    `json:"tv_vip_pay_type"`
		} `json:"vip"`
		Wallet struct {
			Mid           int `json:"mid"`
			BcoinBalance  int `json:"bcoin_balance"`
			CouponBalance int `json:"coupon_balance"`
			CouponDueTime int `json:"coupon_due_time"`
		} `json:"wallet"`
		HasShop        bool   `json:"has_shop"`
		ShopURL        string `json:"shop_url"`
		AllowanceCount int    `json:"allowance_count"`
		AnswerStatus   int    `json:"answer_status"`
		IsSeniorMember int    `json:"is_senior_member"`
		WbiImg         struct {
			ImgURL string `json:"img_url"`
			SubURL string `json:"sub_url"`
		} `json:"wbi_img"`
		IsJury bool `json:"is_jury"`
	} `json:"data"`
}

type QrcodeLogin added in v0.11.11

type QrcodeLogin struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		URL       string `json:"url"`
		QrcodeKey string `json:"qrcode_key"`
	} `json:"data"`
}

type QrcodeLoginPoll added in v0.11.11

type QrcodeLoginPoll struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		URL          string `json:"url"`
		RefreshToken string `json:"refresh_token"`
		Timestamp    int    `json:"timestamp"`
		Code         int    `json:"code"`
		Message      string `json:"message"`
	} `json:"data"`
}

type RoomEntryAction added in v0.5.11

type RoomEntryAction struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	TTL     int         `json:"ttl"`
	Data    interface{} `json:"data"`
}

type Roominfores

type Roominfores struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		RoomInfo struct {
			UID            int    `json:"uid"`
			RoomID         int    `json:"room_id"`
			ShortID        int    `json:"short_id"`
			Title          string `json:"title"`
			Cover          string `json:"cover"`
			Tags           string `json:"tags"`
			Background     string `json:"background"`
			Description    string `json:"description"`
			LiveStatus     int    `json:"live_status"`
			LiveStartTime  int    `json:"live_start_time"`
			LiveScreenType int    `json:"live_screen_type"`
			LockStatus     int    `json:"lock_status"`
			LockTime       int    `json:"lock_time"`
			HiddenStatus   int    `json:"hidden_status"`
			HiddenTime     int    `json:"hidden_time"`
			AreaID         int    `json:"area_id"`
			AreaName       string `json:"area_name"`
			ParentAreaID   int    `json:"parent_area_id"`
			ParentAreaName string `json:"parent_area_name"`
			Keyframe       string `json:"keyframe"`
			SpecialType    int    `json:"special_type"`
			UpSession      string `json:"up_session"`
			PkStatus       int    `json:"pk_status"`
			IsStudio       bool   `json:"is_studio"`
			Pendants       struct {
				Frame struct {
					Name  string `json:"name"`
					Value string `json:"value"`
					Desc  string `json:"desc"`
				} `json:"frame"`
			} `json:"pendants"`
			OnVoiceJoin int `json:"on_voice_join"`
			Online      int `json:"online"`
			RoomType    struct {
				Two3    int `json:"2-3"`
				Three21 int `json:"3-21"`
			} `json:"room_type"`
		} `json:"room_info"`
		AnchorInfo struct {
			BaseInfo struct {
				Uname        string `json:"uname"`
				Face         string `json:"face"`
				Gender       string `json:"gender"`
				OfficialInfo struct {
					Role     int    `json:"role"`
					Title    string `json:"title"`
					Desc     string `json:"desc"`
					IsNft    int    `json:"is_nft"`
					NftDmark string `json:"nft_dmark"`
				} `json:"official_info"`
			} `json:"base_info"`
			LiveInfo struct {
				Level        int           `json:"level"`
				LevelColor   int           `json:"level_color"`
				Score        int           `json:"score"`
				UpgradeScore int           `json:"upgrade_score"`
				Current      []int         `json:"current"`
				Next         []interface{} `json:"next"`
				Rank         string        `json:"rank"`
			} `json:"live_info"`
			RelationInfo struct {
				Attention int `json:"attention"`
			} `json:"relation_info"`
			MedalInfo struct {
				MedalName string `json:"medal_name"`
				MedalID   int    `json:"medal_id"`
				Fansclub  int    `json:"fansclub"`
			} `json:"medal_info"`
			GiftInfo interface{} `json:"gift_info"`
		} `json:"anchor_info"`
		NewsInfo struct {
			UID     int    `json:"uid"`
			Ctime   string `json:"ctime"`
			Content string `json:"content"`
		} `json:"news_info"`
		RankdbInfo struct {
			Roomid    int    `json:"roomid"`
			RankDesc  string `json:"rank_desc"`
			Color     string `json:"color"`
			H5URL     string `json:"h5_url"`
			WebURL    string `json:"web_url"`
			Timestamp int    `json:"timestamp"`
		} `json:"rankdb_info"`
		AreaRankInfo struct {
			AreaRank struct {
				Index int    `json:"index"`
				Rank  string `json:"rank"`
			} `json:"areaRank"`
			LiveRank struct {
				Rank string `json:"rank"`
			} `json:"liveRank"`
		} `json:"area_rank_info"`
		BattleRankEntryInfo interface{} `json:"battle_rank_entry_info"`
		TabInfo             struct {
			List []struct {
				Type      string `json:"type"`
				Desc      string `json:"desc"`
				IsFirst   int    `json:"isFirst"`
				IsEvent   int    `json:"isEvent"`
				EventType string `json:"eventType"`
				ListType  string `json:"listType"`
				APIPrefix string `json:"apiPrefix"`
				RankName  string `json:"rank_name"`
			} `json:"list"`
		} `json:"tab_info"`
		ActivityInitInfo struct {
			EventList []interface{} `json:"eventList"`
			WeekInfo  struct {
				BannerInfo interface{} `json:"bannerInfo"`
				GiftName   interface{} `json:"giftName"`
			} `json:"weekInfo"`
			GiftName interface{} `json:"giftName"`
			Lego     struct {
				Timestamp int    `json:"timestamp"`
				Config    string `json:"config"`
			} `json:"lego"`
		} `json:"activity_init_info"`
		VoiceJoinInfo struct {
			Status struct {
				Open        int    `json:"open"`
				AnchorOpen  int    `json:"anchor_open"`
				Status      int    `json:"status"`
				UID         int    `json:"uid"`
				UserName    string `json:"user_name"`
				HeadPic     string `json:"head_pic"`
				Guard       int    `json:"guard"`
				StartAt     int    `json:"start_at"`
				CurrentTime int    `json:"current_time"`
			} `json:"status"`
			Icons struct {
				IconClose    string `json:"icon_close"`
				IconOpen     string `json:"icon_open"`
				IconWait     string `json:"icon_wait"`
				IconStarting string `json:"icon_starting"`
			} `json:"icons"`
			WebShareLink string `json:"web_share_link"`
		} `json:"voice_join_info"`
		AdBannerInfo struct {
			Data []struct {
				ID                   int         `json:"id"`
				Title                string      `json:"title"`
				Location             string      `json:"location"`
				Position             int         `json:"position"`
				Pic                  string      `json:"pic"`
				Link                 string      `json:"link"`
				Weight               int         `json:"weight"`
				RoomID               int         `json:"room_id"`
				UpID                 int         `json:"up_id"`
				ParentAreaID         int         `json:"parent_area_id"`
				AreaID               int         `json:"area_id"`
				LiveStatus           int         `json:"live_status"`
				AvID                 int         `json:"av_id"`
				IsAd                 bool        `json:"is_ad"`
				AdTransparentContent interface{} `json:"ad_transparent_content"`
				ShowAdIcon           bool        `json:"show_ad_icon"`
			} `json:"data"`
		} `json:"ad_banner_info"`
		SkinInfo struct {
			ID          int    `json:"id"`
			SkinName    string `json:"skin_name"`
			SkinConfig  string `json:"skin_config"`
			ShowText    string `json:"show_text"`
			SkinURL     string `json:"skin_url"`
			StartTime   int    `json:"start_time"`
			EndTime     int    `json:"end_time"`
			CurrentTime int    `json:"current_time"`
		} `json:"skin_info"`
		WebBannerInfo struct {
			ID               int    `json:"id"`
			Title            string `json:"title"`
			Left             string `json:"left"`
			Right            string `json:"right"`
			JumpURL          string `json:"jump_url"`
			BgColor          string `json:"bg_color"`
			HoverColor       string `json:"hover_color"`
			TextBgColor      string `json:"text_bg_color"`
			TextHoverColor   string `json:"text_hover_color"`
			LinkText         string `json:"link_text"`
			LinkColor        string `json:"link_color"`
			InputColor       string `json:"input_color"`
			InputTextColor   string `json:"input_text_color"`
			InputHoverColor  string `json:"input_hover_color"`
			InputBorderColor string `json:"input_border_color"`
			InputSearchColor string `json:"input_search_color"`
		} `json:"web_banner_info"`
		LolInfo        interface{} `json:"lol_info"`
		PkInfo         interface{} `json:"pk_info"`
		BattleInfo     interface{} `json:"battle_info"`
		SilentRoomInfo struct {
			Type       string `json:"type"`
			Level      int    `json:"level"`
			Second     int    `json:"second"`
			ExpireTime int    `json:"expire_time"`
		} `json:"silent_room_info"`
		SwitchInfo struct {
			CloseGuard   bool `json:"close_guard"`
			CloseGift    bool `json:"close_gift"`
			CloseOnline  bool `json:"close_online"`
			CloseDanmaku bool `json:"close_danmaku"`
		} `json:"switch_info"`
		RecordSwitchInfo interface{} `json:"record_switch_info"`
		RoomConfigInfo   struct {
			DmText string `json:"dm_text"`
		} `json:"room_config_info"`
		GiftMemoryInfo struct {
			List interface{} `json:"list"`
		} `json:"gift_memory_info"`
		NewSwitchInfo struct {
			RoomSocket           int `json:"room-socket"`
			RoomPropSend         int `json:"room-prop-send"`
			RoomSailing          int `json:"room-sailing"`
			RoomInfoPopularity   int `json:"room-info-popularity"`
			RoomDanmakuEditor    int `json:"room-danmaku-editor"`
			RoomEffect           int `json:"room-effect"`
			RoomFansMedal        int `json:"room-fans_medal"`
			RoomReport           int `json:"room-report"`
			RoomFeedback         int `json:"room-feedback"`
			RoomPlayerWatermark  int `json:"room-player-watermark"`
			RoomRecommendLiveOff int `json:"room-recommend-live_off"`
			RoomActivity         int `json:"room-activity"`
			RoomWebBanner        int `json:"room-web_banner"`
			RoomSilverSeedsBox   int `json:"room-silver_seeds-box"`
			RoomWishingBottle    int `json:"room-wishing_bottle"`
			RoomBoard            int `json:"room-board"`
			RoomSupplication     int `json:"room-supplication"`
			RoomHourRank         int `json:"room-hour_rank"`
			RoomWeekRank         int `json:"room-week_rank"`
			RoomAnchorRank       int `json:"room-anchor_rank"`
			RoomInfoIntegral     int `json:"room-info-integral"`
			RoomSuperChat        int `json:"room-super-chat"`
			RoomTab              int `json:"room-tab"`
			RoomHotRank          int `json:"room-hot-rank"`
			FansMedalProgress    int `json:"fans-medal-progress"`
			GiftBayScreen        int `json:"gift-bay-screen"`
			RoomEnter            int `json:"room-enter"`
			RoomMyIdol           int `json:"room-my-idol"`
			RoomTopic            int `json:"room-topic"`
			FansClub             int `json:"fans-club"`
			RoomPopularRank      int `json:"room-popular-rank"`
			MicUserGift          int `json:"mic_user_gift"`
			NewRoomAreaRank      int `json:"new-room-area-rank"`
		} `json:"new_switch_info"`
		SuperChatInfo struct {
			Status      int           `json:"status"`
			JumpURL     string        `json:"jump_url"`
			Icon        string        `json:"icon"`
			RankedMark  int           `json:"ranked_mark"`
			MessageList []interface{} `json:"message_list"`
		} `json:"super_chat_info"`
		OnlineGoldRankInfoV2 struct {
			List []struct {
				UID        int64  `json:"uid"`
				Face       string `json:"face"`
				Uname      string `json:"uname"`
				Score      string `json:"score"`
				Rank       int    `json:"rank"`
				GuardLevel int    `json:"guard_level"`
			} `json:"list"`
		} `json:"online_gold_rank_info_v2"`
		DmBrushInfo struct {
			MinTime     int `json:"min_time"`
			BrushCount  int `json:"brush_count"`
			SliceCount  int `json:"slice_count"`
			StorageTime int `json:"storage_time"`
		} `json:"dm_brush_info"`
		DmEmoticonInfo struct {
			IsOpenEmoticon   int `json:"is_open_emoticon"`
			IsShieldEmoticon int `json:"is_shield_emoticon"`
		} `json:"dm_emoticon_info"`
		DmTagInfo struct {
			DmTag           int           `json:"dm_tag"`
			Platform        []interface{} `json:"platform"`
			Extra           string        `json:"extra"`
			DmChronosExtra  string        `json:"dm_chronos_extra"`
			DmMode          []interface{} `json:"dm_mode"`
			DmSettingSwitch int           `json:"dm_setting_switch"`
			MaterialConf    interface{}   `json:"material_conf"`
		} `json:"dm_tag_info"`
		TopicInfo struct {
			TopicID   int    `json:"topic_id"`
			TopicName string `json:"topic_name"`
		} `json:"topic_info"`
		GameInfo struct {
			GameStatus int `json:"game_status"`
		} `json:"game_info"`
		WatchedShow struct {
			Switch       bool   `json:"switch"`
			Num          int    `json:"num"`
			TextSmall    string `json:"text_small"`
			TextLarge    string `json:"text_large"`
			Icon         string `json:"icon"`
			IconLocation int    `json:"icon_location"`
			IconWeb      string `json:"icon_web"`
		} `json:"watched_show"`
		TopicRoomInfo struct {
			InteractiveH5URL string `json:"interactive_h5_url"`
			Watermark        int    `json:"watermark"`
		} `json:"topic_room_info"`
		ShowReserveStatus bool `json:"show_reserve_status"`
		SecondCreateInfo  struct {
			ClickPermission  int    `json:"click_permission"`
			CommonPermission int    `json:"common_permission"`
			IconName         string `json:"icon_name"`
			IconURL          string `json:"icon_url"`
			URL              string `json:"url"`
		} `json:"second_create_info"`
		PlayTogetherInfo struct {
			Switch   int `json:"switch"`
			IconList []struct {
				Icon    string `json:"icon"`
				Title   string `json:"title"`
				JumpURL string `json:"jump_url"`
				Status  int    `json:"status"`
			} `json:"icon_list"`
		} `json:"play_together_info"`
		CloudGameInfo struct {
			IsGaming int `json:"is_gaming"`
		} `json:"cloud_game_info"`
		LikeInfoV3 struct {
			TotalLikes    int      `json:"total_likes"`
			ClickBlock    bool     `json:"click_block"`
			CountBlock    bool     `json:"count_block"`
			GuildEmoText  string   `json:"guild_emo_text"`
			GuildDmText   string   `json:"guild_dm_text"`
			LikeDmText    string   `json:"like_dm_text"`
			HandIcons     []string `json:"hand_icons"`
			DmIcons       []string `json:"dm_icons"`
			EggshellsIcon string   `json:"eggshells_icon"`
			CountShowTime int      `json:"count_show_time"`
			ProcessIcon   string   `json:"process_icon"`
			ProcessColor  string   `json:"process_color"`
		} `json:"like_info_v3"`
		LivePlayInfo struct {
			ShowWidgetBanner bool `json:"show_widget_banner"`
		} `json:"live_play_info"`
		MultiVoice struct {
			SwitchStatus int           `json:"switch_status"`
			Members      []interface{} `json:"members"`
		} `json:"multi_voice"`
		PopularRankInfo struct {
			Rank       int    `json:"rank"`
			Countdown  int    `json:"countdown"`
			Timestamp  int    `json:"timestamp"`
			URL        string `json:"url"`
			OnRankName string `json:"on_rank_name"`
			RankName   string `json:"rank_name"`
		} `json:"popular_rank_info"`
		NewAreaRankInfo struct {
			Items []struct {
				ConfID      int    `json:"conf_id"`
				RankName    string `json:"rank_name"`
				UID         int    `json:"uid"`
				Rank        int    `json:"rank"`
				IconURLBlue string `json:"icon_url_blue"`
				IconURLPink string `json:"icon_url_pink"`
				IconURLGrey string `json:"icon_url_grey"`
				JumpURLLink string `json:"jump_url_link"`
				JumpURLPc   string `json:"jump_url_pc"`
				JumpURLPink string `json:"jump_url_pink"`
				JumpURLWeb  string `json:"jump_url_web"`
			} `json:"items"`
			RotationCycleTimeWeb int `json:"rotation_cycle_time_web"`
		} `json:"new_area_rank_info"`
		GiftStar struct {
			Show bool `json:"show"`
		} `json:"gift_star"`
		VideoConnectionInfo interface{} `json:"video_connection_info"`
		PlayerThrottleInfo  struct {
			Status              int `json:"status"`
			NormalSleepTime     int `json:"normal_sleep_time"`
			FullscreenSleepTime int `json:"fullscreen_sleep_time"`
			TabSleepTime        int `json:"tab_sleep_time"`
			PromptTime          int `json:"prompt_time"`
		} `json:"player_throttle_info"`
		GuardInfo struct {
			Count                   int `json:"count"`
			AnchorGuardAchieveLevel int `json:"anchor_guard_achieve_level"`
		} `json:"guard_info"`
		HotRankInfo interface{} `json:"hot_rank_info"`
	} `json:"data"`
}
type Search struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		Seid           string `json:"seid"`
		Page           int    `json:"page"`
		Pagesize       int    `json:"pagesize"`
		NumResults     int    `json:"numResults"`
		NumPages       int    `json:"numPages"`
		SuggestKeyword string `json:"suggest_keyword"`
		RqtType        string `json:"rqt_type"`
		CostTime       struct {
			ParamsCheck         string `json:"params_check"`
			IsRiskQuery         string `json:"is_risk_query"`
			IllegalHandler      string `json:"illegal_handler"`
			DeserializeResponse string `json:"deserialize_response"`
			AsResponseFormat    string `json:"as_response_format"`
			AsRequest           string `json:"as_request"`
			SaveCache           string `json:"save_cache"`
			AsDocRequest        string `json:"as_doc_request"`
			AsRequestFormat     string `json:"as_request_format"`
			Total               string `json:"total"`
			MainHandler         string `json:"main_handler"`
		} `json:"cost_time"`
		ExpList struct {
			Num5501 bool `json:"5501"`
			Num6609 bool `json:"6609"`
			Num7708 bool `json:"7708"`
		} `json:"exp_list"`
		EggHit int `json:"egg_hit"`
		Result []struct {
			RankOffset int      `json:"rank_offset"`
			UID        int      `json:"uid"`
			Tags       string   `json:"tags"`
			Type       string   `json:"type"`
			LiveTime   string   `json:"live_time"`
			HitColumns []string `json:"hit_columns"`
			CateName   string   `json:"cate_name"`
			LiveStatus int      `json:"live_status"`
			Area       int      `json:"area"`
			IsLive     bool     `json:"is_live"`
			Uname      string   `json:"uname"`
			AreaV2ID   int      `json:"area_v2_id"`
			Uface      string   `json:"uface"`
			RankIndex  int      `json:"rank_index"`
			RankScore  int      `json:"rank_score"`
			Roomid     int      `json:"roomid"`
			Attentions int      `json:"attentions"`
		} `json:"result"`
		ShowColumn int `json:"show_column"`
		InBlackKey int `json:"in_black_key"`
		InWhiteKey int `json:"in_white_key"`
	} `json:"data"`
}

type SendBag added in v0.9.1

type SendBag struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    struct {
		UID               int    `json:"uid"`
		Uname             string `json:"uname"`
		Face              string `json:"face"`
		GuardLevel        int    `json:"guard_level"`
		Ruid              int    `json:"ruid"`
		RoomID            int    `json:"room_id"`
		Rcost             int    `json:"rcost"`
		TotalCoin         int    `json:"total_coin"`
		PayCoin           int    `json:"pay_coin"`
		BlowSwitch        int    `json:"blow_switch"`
		SendTips          string `json:"send_tips"`
		DiscountID        int    `json:"discount_id"`
		SendMaster        any    `json:"send_master"`
		ButtonComboType   int    `json:"button_combo_type"`
		SendGiftCountdown int    `json:"send_gift_countdown"`
		BlindGift         any    `json:"blind_gift"`
		Fulltext          string `json:"fulltext"`
		CritProb          int    `json:"crit_prob"`
		Price             int    `json:"price"`
		LeftNum           int    `json:"left_num"`
		NeedNum           int    `json:"need_num"`
		AvailableNum      int    `json:"available_num"`
		BpCentBalance     int    `json:"bp_cent_balance"`
		GiftList          []struct {
			Tid         string `json:"tid"`
			GiftID      int    `json:"gift_id"`
			GiftType    int    `json:"gift_type"`
			GiftName    string `json:"gift_name"`
			GiftNum     int    `json:"gift_num"`
			GiftAction  string `json:"gift_action"`
			GiftPrice   int    `json:"gift_price"`
			CoinType    string `json:"coin_type"`
			TagImage    string `json:"tag_image"`
			EffectBlock int    `json:"effect_block"`
			Extra       struct {
				Wallet  any `json:"wallet"`
				GiftBag struct {
					BagID   int `json:"bag_id"`
					GiftNum int `json:"gift_num"`
				} `json:"gift_bag"`
				Pk struct {
					PkGiftTips string `json:"pk_gift_tips"`
				} `json:"pk"`
				LotteryID string `json:"lottery_id"`
				Medal     struct {
					New       int    `json:"new"`
					MedalID   int    `json:"medal_id"`
					MedalName string `json:"medal_name"`
					Level     int    `json:"level"`
				} `json:"medal"`
			} `json:"extra"`
			GiftEffect struct {
				ComboTimeout      int    `json:"combo_timeout"`
				SuperGiftNum      int    `json:"super_gift_num"`
				SuperBatchGiftNum int    `json:"super_batch_gift_num"`
				BatchComboID      string `json:"batch_combo_id"`
				ComboID           string `json:"combo_id"`
			} `json:"gift_effect"`
			IsSpecialBatch    int  `json:"is_special_batch"`
			ComboStayTime     int  `json:"combo_stay_time"`
			ComboTotalCoin    int  `json:"combo_total_coin"`
			Demarcation       int  `json:"demarcation"`
			Magnification     int  `json:"magnification"`
			ComboResourcesID  int  `json:"combo_resources_id"`
			FloatScResourceID int  `json:"float_sc_resource_id"`
			IsNaming          bool `json:"is_naming"`
			ReceiveUserInfo   struct {
				Uname string `json:"uname"`
				UID   int    `json:"uid"`
			} `json:"receive_user_info"`
			IsJoinReceiver bool `json:"is_join_receiver"`
		} `json:"gift_list"`
		SendID string `json:"send_id"`
	} `json:"data"`
}

type StreamType added in v0.5.11

type StreamType struct {
	ProtocolName string `json:"protocol_name"`
	Format       []struct {
		FormatName string `json:"format_name"`
		Codec      []struct {
			CodecName string `json:"codec_name"`
			CurrentQn int    `json:"current_qn"`
			AcceptQn  []int  `json:"accept_qn"`
			BaseURL   string `json:"base_url"`
			URLInfo   []struct {
				Host      string `json:"host"`
				Extra     string `json:"extra"`
				StreamTTL int    `json:"stream_ttl"`
			} `json:"url_info"`
			HdrQn     interface{} `json:"hdr_qn"`
			DolbyType int         `json:"dolby_type"`
			AttrName  string      `json:"attr_name"`
		} `json:"codec"`
	} `json:"format"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL