Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthorData ¶
type AuthorInfo ¶
type AuthorInfo struct {
Code int `json:"code"`
Message string `json:"message"`
Data AuthorData `json:"data"`
}
func GetInfo ¶
func GetInfo(mid string) (*AuthorInfo, error)
type BotInfo ¶
type Content ¶
type Content struct {
Desc struct {
Text string `json:"text"` // 动态内容
} `json:"desc"`
}
type Dynamic ¶
type LoginResponse ¶
type QRCodeResponse ¶
type QRCodeResponse struct {
Code int `json:"code"`
TS int `json:"ts"`
Data struct {
Url string `json:"url"` // 二维码内容url
QrcodeKey string `json:"qrcode_key"` // 扫码登录秘钥
} `json:"data"`
}
func GetLoginUrl ¶
func GetLoginUrl() (*QRCodeResponse, error)
type ReplyResponse ¶
type ReplyResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Data struct {
SuccessToast string `json:"success_toast"`
Emote interface{} `json:"emote"`
} `json:"data"`
}
func DynamicReply ¶
func DynamicReply(cookie string, dynamicID string, message string) (*ReplyResponse, error)
Click to show internal directories.
Click to hide internal directories.