Documentation ¶
Index ¶
- type HttpClient
- type PostOptions
- type WkteamApi
- func (w *WkteamApi) GetAddressList(wId string) (data map[string]interface{}, err error)
- func (w *WkteamApi) GetAuthKey(account string, password string) (authKey string, err error)
- func (w *WkteamApi) GetContact(wId string, wcIds []string) (data map[string]interface{}, err error)
- func (w *WkteamApi) GetInfoByWId(wId string) (data map[string]interface{}, err error)
- func (w *WkteamApi) GetLoginPicUrl(wcId string) (data map[string]interface{}, err error)
- func (w *WkteamApi) GetOnlineList() (data map[string]string, err error)
- func (w *WkteamApi) InitAddressList(wId string) error
- func (w *WkteamApi) IsOnline(wId string) (isOnline bool, err error)
- func (w *WkteamApi) SecondLogin(wId string) (data map[string]interface{}, err error)
- func (w *WkteamApi) SendText(wId string, wcId string, content string, at string) error
- func (w *WkteamApi) SetMsgReciverUrl(url string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpClient ¶
type HttpClient struct { }
func NewHttpClient ¶
func NewHttpClient() *HttpClient
func (*HttpClient) PostJson ¶
func (h *HttpClient) PostJson(url string, data interface{}, options PostOptions) (body []byte, err error)
type PostOptions ¶
type WkteamApi ¶
func NewWkteamApi ¶
func (*WkteamApi) GetAddressList ¶
func (*WkteamApi) GetAuthKey ¶
func (*WkteamApi) GetContact ¶
func (*WkteamApi) GetInfoByWId ¶
获取登录二维码时候,返回的wId,手机完成登录后,通过此wId获取到登录的微信相关信息, 获取到的wcId 就是微信号的唯一ID,后续获取二维码时候带上
func (*WkteamApi) GetLoginPicUrl ¶
func (*WkteamApi) GetOnlineList ¶
func (*WkteamApi) InitAddressList ¶
func (*WkteamApi) SecondLogin ¶
func (*WkteamApi) SetMsgReciverUrl ¶
Click to show internal directories.
Click to hide internal directories.