Documentation
¶
Index ¶
- func GetChatrooms() (int64, []byte)
- func GetContactByNickName(nickname string) []byte
- func GetContactByRemarkName(remarkname string) []byte
- func GetContactlist() (int64, []byte)
- func GetContacts(args ...string) (int64, []byte)
- func GetOfficiallist() (int64, []byte)
- func JoinChatroom(inviteuser string, chatroom string) error
- func Login() error
- func Logout()
- func PrintQRCode(info string) error
- func RmChatroom(user string, chatroom string) error
- func SendMsg(msg string, toUserName string) error
- type MsgData
- type MySelf
- type WechatData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContactByRemarkName ¶
* 通过联系人备注名获取联系人信息
- @param remarkname string 联系人备注名
- @return []byte 返回联系人信息
func GetContacts ¶
* 获取指定省份、城市、性别的联系人
- @param args ...string 省份、城市、性别
- @return int64 符合条件的联系人数量
- @return []byte 符合条件的联系人信息
func PrintQRCode ¶
*
- 直接在终端输出二维码
- 使用github.com/skip2/go-qrcode库
- @param info 要显示的字符串
- @return error 错误信息
Types ¶
type MsgData ¶
Click to show internal directories.
Click to hide internal directories.