Documentation
¶
Index ¶
- type Client
- func (c *Client) AddEventHandler(handler whatsmeow.EventHandler)
- func (c *Client) DataDir() string
- func (c *Client) Disconnect()
- func (c *Client) Download(msg whatsmeow.DownloadableMessage) ([]byte, error)
- func (c *Client) GetAllContacts() (map[types.JID]types.ContactInfo, error)
- func (c *Client) GetJoinedGroups() ([]*types.GroupInfo, error)
- func (c *Client) HandlerDataPath(name string) string
- func (c *Client) Register() error
- func (c *Client) ResolveRecipient(recipient string, isGroup bool) (types.JID, error)
- func (c *Client) SendAudio(recipientJID types.JID, audioPath string) error
- func (c *Client) SendFile(recipientJID types.JID, filePath string) error
- func (c *Client) SendImage(recipientJID types.JID, imagePath string) error
- func (c *Client) SendText(recipientJID types.JID, message string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddEventHandler ¶
func (c *Client) AddEventHandler(handler whatsmeow.EventHandler)
func (*Client) Disconnect ¶
func (c *Client) Disconnect()
func (*Client) Download ¶
func (c *Client) Download(msg whatsmeow.DownloadableMessage) ([]byte, error)
func (*Client) GetAllContacts ¶
func (*Client) HandlerDataPath ¶
func (*Client) ResolveRecipient ¶
Click to show internal directories.
Click to hide internal directories.