Versions in this module Expand all Collapse all v1 v1.7.2 Jul 10, 2023 v1.7.1 Jul 10, 2023 v1.7.0 Jun 1, 2023 Changes in this version + func NewRequest() *req.Client + type EmojiXml struct + Emoji struct{ ... } + Gameext struct{ ... } + Text string + XMLName xml.Name + type Framework struct + ApiToken string + ApiUrl string + BotWxId string + func New(botWxId, apiUrl, apiToken string) *Framework + func (f *Framework) AgreeFriendVerify(v3, v4, scene string) error + func (f *Framework) Callback(ctx *gin.Context, handler func(*robot.Event, robot.IFramework)) + func (f *Framework) GetFriends(isRefresh bool) ([]*robot.User, error) + func (f *Framework) GetGroupMembers(groupWxId string, isRefresh bool) ([]*robot.User, error) + func (f *Framework) GetGroups(isRefresh bool) ([]*robot.User, error) + func (f *Framework) GetMPs(isRefresh bool) ([]*robot.User, error) + func (f *Framework) GetMemePictures(msg *robot.Message) string + func (f *Framework) GetObjectInfo(wxId string) (*robot.User, error) + func (f *Framework) GetRobotInfo() (*robot.User, error) + func (f *Framework) InviteIntoGroup(groupWxId, wxId string, typ int) error + func (f *Framework) SendBusinessCard(toWxId, targetWxId string) error + func (f *Framework) SendEmoji(toWxId, path string) error + func (f *Framework) SendFavorites(toWxId, favoritesId string) error + func (f *Framework) SendFile(toWxId, path string) error + func (f *Framework) SendImage(toWxId, path string) error + func (f *Framework) SendMessageRecord(toWxId, title string, dataList []map[string]interface{}) error + func (f *Framework) SendMessageRecordXML(toWxId, xmlStr string) error + func (f *Framework) SendMiniProgram(toWxId, ghId, title, content, imagePath, jumpPath string) error + func (f *Framework) SendMusic(toWxId, name, author, app, jumpUrl, musicUrl, coverUrl string) error + func (f *Framework) SendShareLink(toWxId, title, desc, imageUrl, jumpUrl string) error + func (f *Framework) SendText(toWxId, text string) error + func (f *Framework) SendTextAndAt(toGroupWxId, toWxId, toWxName, text string) error + func (f *Framework) SendVideo(toWxId, path string) error + func (f *Framework) SendXML(toWxId, xmlStr string) error + type FriendsListResp struct + Code int + Flag string + Msg string + Pid int + Port int + Result []struct{ ... } + Timestamp string + Wxid string + type GroupListResp struct + Code int + Flag string + Msg string + Pid int + Port int + Result []struct{ ... } + Timestamp string + Wxid string + type GroupMemberListResp struct + Code int + Flag string + Msg string + Pid int + Port int + Result []struct{ ... } + Timestamp string + Wxid string + type MessageResp struct + Code int + Msg string + type ObjectInfoResp struct + Code int + Flag string + Msg string + Pid int + Port int + Result struct{ ... } + Timestamp string + Wxid string + type ReferenceXml struct + Appinfo struct{ ... } + Appmsg struct{ ... } + Commenturl string + Fromusername string + Scene string + Text string + XMLName xml.Name + type RobotInfoResp struct + Code int + Flag string + Msg string + Pid int + Port int + Result struct{ ... } + Timestamp string + Wxid string + type SubscriptionListResp struct + Code int + Flag string + Msg string + Pid int + Port int + Result []struct{ ... } + Timestamp string + Wxid string