MCPcopy
hub / github.com/danielgross/whatsapp-gpt / register

Method register

main.go:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func (mycli *MyClient) register() {
30 mycli.eventHandlerID = mycli.WAClient.AddEventHandler(mycli.eventHandler)
31}
32
33func (mycli *MyClient) eventHandler(evt interface{}) {
34 switch v := evt.(type) {

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected