Documentation ¶
Index ¶
- Variables
- func WhatsAppComposeStatus(rjid types.JID, isComposing bool, isAudio bool)
- func WhatsAppGetUserAgent(agentType string) waproto.DeviceProps_PlatformType
- func WhatsAppGetUserOS() string
- func WhatsAppHandler(event interface{})
- func WhatsAppInitClient(device *store.Device)
- func WhatsAppLogin(jid string) (string, int, error)
- func WhatsAppLogout() error
- func WhatsAppPresence(isAvailable bool)
- func WhatsAppReconnect() error
- func WhatsAppSendGPTResponse(ctx context.Context, event *events.Message, response string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WhatsAppClientProxyURL string WhatsAppOAIGPTTag string )
View Source
var WhatsAppClient *whatsmeow.Client
View Source
var WhatsAppDatastore *sqlstore.Container
View Source
var WhatsAppOAIGPTRegex *regexp.Regexp
Functions ¶
func WhatsAppComposeStatus ¶
func WhatsAppGetUserAgent ¶ added in v1.4.1
func WhatsAppGetUserAgent(agentType string) waproto.DeviceProps_PlatformType
func WhatsAppGetUserOS ¶ added in v1.5.0
func WhatsAppGetUserOS() string
func WhatsAppHandler ¶
func WhatsAppHandler(event interface{})
func WhatsAppInitClient ¶
func WhatsAppLogout ¶
func WhatsAppLogout() error
func WhatsAppPresence ¶ added in v1.5.1
func WhatsAppPresence(isAvailable bool)
func WhatsAppReconnect ¶
func WhatsAppReconnect() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.