Documentation ¶
Overview ¶
Package bilibiliforward Bilibili站内私信转发服务
Index ¶
- func BeginOfTheDay() int64
- func ExtractJctToken(cookie string) string
- func ExtractUID(cookie string) string
- func GetCookieOf(uid int64) (cookie string)
- func GetUIDMsgs(cookie string, uid string, amount string) []byte
- func GetUserName(cookie string, uid string) string
- func GetUserPhoto(cookie string, uid string) string
- func InsertCookieOf(uid int64, cookie string) error
- func ReceiveList(cookie string, begintime int64) []byte
- func SendPic2U(cookie string, uid string, piclink string) string
- func SendText2U(cookie string, uid string, content string) string
- func SizeParse(piclink string) (int, int)
- type AllTogether
- type Card
- type Data
- type InfoBasic
- type LastMsg
- type MessageCon
- type MessageConSingle
- type MessageLST
- type Record
- type SendStat
- type SessionList
- type Storage
- type UIDAll
- type UIDData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginOfTheDay ¶
func BeginOfTheDay() int64
func ExtractJctToken ¶
func ExtractUID ¶
func GetUserName ¶
func GetUserPhoto ¶
func InsertCookieOf ¶
InsertCookieOf 更新cookie(uid QQ号, cookie 用户提供的cookie)
func ReceiveList ¶
Types ¶
type AllTogether ¶
type Data ¶
type Data struct { Sessions []SessionList `json:"session_list"` HasMore int `json:"has_more"` }
type MessageCon ¶
type MessageCon struct { Content string `json:"content"` Author string `json:"author"` Title string `json:"title"` CoverLink string `json:"cover"` SCoverLink string `json:"thumb"` Describe string `json:"desc"` BVID string `json:"bvid"` ImageType string `json:"imageType"` URL string `json:"url"` Text string `json:"text"` Views int64 `json:"view"` Danmks int64 `json:"danmaku"` PubDate int64 `json:"pub_date"` }
type MessageConSingle ¶
type MessageConSingle struct { Content string `json:"content"` Author string `json:"author"` Title string `json:"title"` CoverLink string `json:"cover"` SCoverLink string `json:"thumb"` Describe string `json:"desc"` BVID string `json:"bvid"` ImageType string `json:"imageType"` URL string `json:"url"` Text string `json:"text"` Views int64 `json:"view"` Danmks int64 `json:"danmaku"` PubDate int64 `json:"pub_date"` JumpText string `json:"jump_text"` }
type MessageLST ¶
type SessionList ¶
type UIDData ¶
type UIDData struct { Messages []MessageLST `json:"messages"` // 修改这里的标签 HasMore int `json:"has_more"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.