Documentation ¶
Index ¶
- Variables
- func WhatsAppCheckJID(jid string, id string) (types.JID, error)
- func WhatsAppCheckRegistered(jid string, id string) error
- func WhatsAppComposeJID(id string) types.JID
- func WhatsAppComposeStatus(jid string, rjid types.JID, isComposing bool, isAudio bool)
- func WhatsAppDecomposeJID(id string) string
- func WhatsAppGenerateQR(qrChan <-chan whatsmeow.QRChannelItem) (string, int)
- func WhatsAppGetJID(jid string, id string) types.JID
- func WhatsAppGetUserAgent(agentType string) waproto.DeviceProps_PlatformType
- func WhatsAppGetUserOS() string
- func WhatsAppGroupGet(jid string) ([]types.GroupInfo, error)
- func WhatsAppGroupJoin(jid string, link string) (string, error)
- func WhatsAppGroupLeave(jid string, gjid string) error
- func WhatsAppInitClient(device *store.Device, jid string)
- func WhatsAppIsClientOK(jid string) error
- func WhatsAppLogin(jid string) (string, int, error)
- func WhatsAppLoginPair(jid string) (string, int, error)
- func WhatsAppLogout(jid string) error
- func WhatsAppMessageDelete(ctx context.Context, jid string, rjid string, msgid string) error
- func WhatsAppMessageEdit(ctx context.Context, jid string, rjid string, msgid string, message string) (string, error)
- func WhatsAppMessageReact(ctx context.Context, jid string, rjid string, msgid string, emoji string) (string, error)
- func WhatsAppPresence(jid string, isAvailable bool)
- func WhatsAppReconnect(jid string) error
- func WhatsAppSendAudio(ctx context.Context, jid string, rjid string, audioBytes []byte, ...) (string, error)
- func WhatsAppSendContact(ctx context.Context, jid string, rjid string, contactName string, ...) (string, error)
- func WhatsAppSendDocument(ctx context.Context, jid string, rjid string, fileBytes []byte, ...) (string, error)
- func WhatsAppSendImage(ctx context.Context, jid string, rjid string, imageBytes []byte, ...) (string, error)
- func WhatsAppSendLink(ctx context.Context, jid string, rjid string, linkCaption string, ...) (string, error)
- func WhatsAppSendLocation(ctx context.Context, jid string, rjid string, latitude float64, ...) (string, error)
- func WhatsAppSendPoll(ctx context.Context, jid string, rjid string, question string, ...) (string, error)
- func WhatsAppSendSticker(ctx context.Context, jid string, rjid string, stickerBytes []byte) (string, error)
- func WhatsAppSendText(ctx context.Context, jid string, rjid string, message string) (string, error)
- func WhatsAppSendVideo(ctx context.Context, jid string, rjid string, videoBytes []byte, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var WhatsAppClient = make(map[string]*whatsmeow.Client)
View Source
var (
WhatsAppClientProxyURL string
)
View Source
var WhatsAppDatastore *sqlstore.Container
Functions ¶
func WhatsAppCheckJID ¶ added in v1.7.1
func WhatsAppCheckRegistered ¶ added in v1.7.1
func WhatsAppComposeJID ¶
func WhatsAppComposeStatus ¶
func WhatsAppDecomposeJID ¶
func WhatsAppGenerateQR ¶
func WhatsAppGenerateQR(qrChan <-chan whatsmeow.QRChannelItem) (string, int)
func WhatsAppGetUserAgent ¶ added in v1.5.1
func WhatsAppGetUserAgent(agentType string) waproto.DeviceProps_PlatformType
func WhatsAppGetUserOS ¶ added in v1.6.3
func WhatsAppGetUserOS() string
func WhatsAppGroupGet ¶ added in v1.7.0
func WhatsAppGroupJoin ¶ added in v1.7.0
func WhatsAppGroupLeave ¶ added in v1.7.0
func WhatsAppInitClient ¶
func WhatsAppIsClientOK ¶
func WhatsAppLogout ¶
func WhatsAppMessageDelete ¶ added in v1.7.0
func WhatsAppMessageEdit ¶ added in v1.7.1
func WhatsAppMessageReact ¶ added in v1.7.2
func WhatsAppPresence ¶ added in v1.6.5
func WhatsAppReconnect ¶
func WhatsAppSendAudio ¶
func WhatsAppSendContact ¶
func WhatsAppSendDocument ¶
func WhatsAppSendImage ¶
func WhatsAppSendLink ¶
func WhatsAppSendLocation ¶
func WhatsAppSendPoll ¶ added in v1.7.1
func WhatsAppSendSticker ¶
func WhatsAppSendText ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.