Versions in this module Expand all Collapse all v1 v1.0.0 May 12, 2023 Changes in this version + func Download(ticket, filepath string, clt *http.Client) (written int64, err error) + func DownloadToWriter(ticket string, writer io.Writer, clt *http.Client) (written int64, err error) + func GetWxaCodeUnlimit(clt *core.Client, params WxaCodeParams) (contentType string, binary []byte, err error) + func QrcodePicURL(ticket string) string + func ShortURL(clt *core.Client, longURL string) (shortURL string, err error) + type PermQrcode struct + Ticket string + URL string + func CreatePermQrcode(clt *core.Client, sceneId int32) (qrcode *PermQrcode, err error) + func CreateStrScenePermQrcode(clt *core.Client, sceneStr string) (qrcode *PermQrcode, err error) + type TempQrcode struct + ExpireSeconds int + func CreateStrSceneTempQrcode(clt *core.Client, sceneStr string, expireSeconds int) (qrcode *TempQrcode, err error) + func CreateTempQrcode(clt *core.Client, sceneId int32, expireSeconds int) (qrcode *TempQrcode, err error) + type WxaCodeParams struct + AutoColor bool + IsHyaline bool + LineColor color.Color + Page string + Scene string + Width int