Documentation ¶
Index ¶
- type Options
- type PuppetWin
- func (p *PuppetWin) ContactAlias(contactID string) (string, error)
- func (p *PuppetWin) ContactAvatar(contactID string) (*filebox.FileBox, error)
- func (p *PuppetWin) ContactList() ([]string, error)
- func (p *PuppetWin) ContactQRCode(contactID string) (string, error)
- func (p *PuppetWin) ContactRawPayload(contactID string) (*schemas.ContactPayload, error)
- func (p *PuppetWin) ContactSelfQRCode() (string, error)
- func (p *PuppetWin) Ding(data string)
- func (p *PuppetWin) FriendshipAccept(friendshipID string) (err error)
- func (p *PuppetWin) FriendshipAdd(contactID, hello string) (err error)
- func (p *PuppetWin) FriendshipRawPayload(id string) (*schemas.FriendshipPayload, error)
- func (p *PuppetWin) FriendshipSearchPhone(phone string) (string, error)
- func (p *PuppetWin) FriendshipSearchWeixin(weixin string) (string, error)
- func (p *PuppetWin) Logout() error
- func (p *PuppetWin) MessageContact(messageID string) (string, error)
- func (p *PuppetWin) MessageFile(id string) (*filebox.FileBox, error)
- func (p *PuppetWin) MessageForward(conversationID string, messageID string) (string, error)
- func (p *PuppetWin) MessageImage(messageID string, imageType schemas.ImageType) (*filebox.FileBox, error)
- func (p *PuppetWin) MessageLocation(messageID string) (*schemas.LocationPayload, error)
- func (p *PuppetWin) MessageRawMiniProgramPayload(messageID string) (*schemas.MiniProgramPayload, error)
- func (p *PuppetWin) MessageRawPayload(id string) (*schemas.MessagePayload, error)
- func (p *PuppetWin) MessageRecall(messageID string) (bool, error)
- func (p *PuppetWin) MessageSendContact(conversationID string, contactID string) (string, error)
- func (p *PuppetWin) MessageSendFile(conversationID string, fileBox *filebox.FileBox) (string, error)
- func (p *PuppetWin) MessageSendLocation(conversationID string, payload *schemas.LocationPayload) (string, error)
- func (p *PuppetWin) MessageSendMiniProgram(conversationID string, miniProgramPayload *schemas.MiniProgramPayload) (string, error)
- func (p *PuppetWin) MessageSendText(conversationID string, text string, mentionIDList ...string) (string, error)
- func (p *PuppetWin) MessageSendURL(conversationID string, urlLinkPayload *schemas.UrlLinkPayload) (string, error)
- func (p *PuppetWin) MessageURL(messageID string) (*schemas.UrlLinkPayload, error)
- func (p *PuppetWin) RoomAdd(roomID, contactID string) error
- func (p *PuppetWin) RoomAnnounce(roomID string) (string, error)
- func (p *PuppetWin) RoomAvatar(roomID string) (*filebox.FileBox, error)
- func (p *PuppetWin) RoomCreate(contactIDList []string, topic string) (string, error)
- func (p *PuppetWin) RoomDel(roomID, contactID string) error
- func (p *PuppetWin) RoomInvitationAccept(roomInvitationID string) error
- func (p *PuppetWin) RoomInvitationRawPayload(id string) (*schemas.RoomInvitationPayload, error)
- func (p *PuppetWin) RoomList() ([]string, error)
- func (p *PuppetWin) RoomMemberList(roomID string) ([]string, error)
- func (p *PuppetWin) RoomMemberRawPayload(roomID string, contactID string) (*schemas.RoomMemberPayload, error)
- func (p *PuppetWin) RoomQRCode(roomID string) (string, error)
- func (p *PuppetWin) RoomQuit(roomID string) error
- func (p *PuppetWin) RoomRawPayload(id string) (*schemas.RoomPayload, error)
- func (p *PuppetWin) RoomTopic(roomID string) (string, error)
- func (p *PuppetWin) SetContactAlias(contactID string, alias string) error
- func (p *PuppetWin) SetContactAvatar(contactID string, fileBox *filebox.FileBox) error
- func (p *PuppetWin) SetContactSelfName(name string) error
- func (p *PuppetWin) SetContactSelfSignature(signature string) error
- func (p *PuppetWin) SetRoomAnnounce(roomID, text string) error
- func (p *PuppetWin) SetRoomTopic(roomID string, topic string) error
- func (p *PuppetWin) Start() (err error)
- func (p *PuppetWin) Stop()
- func (p *PuppetWin) TagContactAdd(id, contactID string) (err error)
- func (p *PuppetWin) TagContactDelete(id string) (err error)
- func (p *PuppetWin) TagContactList(contactID string) ([]string, error)
- func (p *PuppetWin) TagContactRemove(id, contactID string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PuppetWin ¶
type PuppetWin struct { *wechatyPuppet.Puppet // contains filtered or unexported fields }
func NewPuppetWin ¶
func (*PuppetWin) ContactAvatar ¶
func (*PuppetWin) ContactList ¶
func (*PuppetWin) ContactQRCode ¶
func (*PuppetWin) ContactRawPayload ¶
func (p *PuppetWin) ContactRawPayload(contactID string) (*schemas.ContactPayload, error)
func (*PuppetWin) ContactSelfQRCode ¶
func (*PuppetWin) FriendshipAccept ¶
func (*PuppetWin) FriendshipAdd ¶
func (*PuppetWin) FriendshipRawPayload ¶
func (p *PuppetWin) FriendshipRawPayload(id string) (*schemas.FriendshipPayload, error)
func (*PuppetWin) FriendshipSearchPhone ¶
func (*PuppetWin) FriendshipSearchWeixin ¶
func (*PuppetWin) MessageContact ¶
func (*PuppetWin) MessageFile ¶
func (*PuppetWin) MessageForward ¶
MessageForward ...
func (*PuppetWin) MessageImage ¶
func (*PuppetWin) MessageLocation ¶
func (p *PuppetWin) MessageLocation(messageID string) (*schemas.LocationPayload, error)
func (*PuppetWin) MessageRawMiniProgramPayload ¶
func (p *PuppetWin) MessageRawMiniProgramPayload(messageID string) (*schemas.MiniProgramPayload, error)
func (*PuppetWin) MessageRawPayload ¶
func (p *PuppetWin) MessageRawPayload(id string) (*schemas.MessagePayload, error)
func (*PuppetWin) MessageSendContact ¶
func (*PuppetWin) MessageSendFile ¶
func (*PuppetWin) MessageSendLocation ¶
func (*PuppetWin) MessageSendMiniProgram ¶
func (*PuppetWin) MessageSendText ¶
func (*PuppetWin) MessageSendURL ¶
func (*PuppetWin) MessageURL ¶
func (p *PuppetWin) MessageURL(messageID string) (*schemas.UrlLinkPayload, error)
func (*PuppetWin) RoomAvatar ¶
func (*PuppetWin) RoomCreate ¶
func (*PuppetWin) RoomInvitationAccept ¶
func (*PuppetWin) RoomInvitationRawPayload ¶
func (p *PuppetWin) RoomInvitationRawPayload(id string) (*schemas.RoomInvitationPayload, error)
func (*PuppetWin) RoomMemberList ¶
func (*PuppetWin) RoomMemberRawPayload ¶
func (*PuppetWin) RoomRawPayload ¶
func (p *PuppetWin) RoomRawPayload(id string) (*schemas.RoomPayload, error)
func (*PuppetWin) SetContactAlias ¶
func (*PuppetWin) SetContactAvatar ¶
func (*PuppetWin) SetContactSelfName ¶
func (*PuppetWin) SetContactSelfSignature ¶
func (*PuppetWin) SetRoomAnnounce ¶
func (*PuppetWin) SetRoomTopic ¶
func (*PuppetWin) TagContactAdd ¶
func (*PuppetWin) TagContactDelete ¶
func (*PuppetWin) TagContactList ¶
func (*PuppetWin) TagContactRemove ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.