Documentation ¶
Index ¶
- type Client
- type Framework
- func (f *Framework) AgreeFriendVerify(v1, v2, scene string) error
- func (f *Framework) Callback(handler func(*robot.Event, robot.IFramework))
- func (f *Framework) GetMemePictures(msg *robot.Message) string
- func (f *Framework) GetObjectInfo(wxId string) (*robot.ObjectInfo, 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 MessageResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct { BotWxId string // 机器人微信ID ApiUrl string // http api地址 ApiToken string // http api鉴权token ServePort uint // 本地服务端口,用于接收回调 }
func (*Framework) AgreeFriendVerify ¶
func (*Framework) Callback ¶
func (f *Framework) Callback(handler func(*robot.Event, robot.IFramework))
func (*Framework) GetObjectInfo ¶
func (f *Framework) GetObjectInfo(wxId string) (*robot.ObjectInfo, error)
func (*Framework) InviteIntoGroup ¶
func (*Framework) SendBusinessCard ¶
func (*Framework) SendFavorites ¶
func (*Framework) SendMessageRecord ¶
func (*Framework) SendMessageRecordXML ¶
func (*Framework) SendMiniProgram ¶
func (*Framework) SendShareLink ¶
func (*Framework) SendTextAndAt ¶
Click to show internal directories.
Click to hide internal directories.