Versions in this module Expand all Collapse all v1 v1.0.6 May 11, 2022 Changes in this version + func NewBusinessError(err error) error + func NewError(code int, err error) error + func NewSDKError(err error) error + type CreateQrcodeResult struct + Code string + Expires int + Extra string + ShortUrl string + Url string + type Error struct + Cause error + Code int + Title string + func (err Error) Error() string + type Message struct + AppToken string + Content string + ContentType int + Summary string + TopicIds []int + UIds []string + Url string + func NewMessage(appToken string) *Message + func (m *Message) AddTopicId(id int, more ...int) *Message + func (m *Message) AddUId(id string, more ...string) *Message + func (m *Message) SetContent(content string) *Message + func (m *Message) SetContentType(ct int) *Message + func (m *Message) SetSummary(summary string) *Message + func (m *Message) SetUrl(url string) *Message + func (m Message) Check() error + type Qrcode struct + AppToken string + Extra string + ValidTime int + func (q *Qrcode) Check() error + type QueryWxUserResult struct + Page int + PageSize int + Records []WxUser + Total int + type Result struct + Code int + Data interface{} + Msg string + func (r *Result) Success() bool + type SendMsgResult struct + Code int + MessageId int + Status string + TopicId int + Uid string + type WxUser struct + CreateTime int64 + Enable bool + HeadImg string + NickName string + UId string