@ -6,7 +6,7 @@ import (
"github.com/Rhymen/go-whatsapp"
"github.com/hugot/go-deltachat/deltachat"
core "github.com/hugot/whapp-deltachat/whappdc-core"
"github.com/hugot/whapp-deltachat/core"
)
func NewWhappBridge(bridgeContext *core.BridgeContext) *WhappBridge {
@ -5,8 +5,8 @@ import (
"github.com/hugot/go-deltachat/deltabot"
"github.com/hugot/whapp-deltachat/botcommands"
"github.com/hugot/whapp-deltachat/whappdc"
type Bridge struct {
@ -7,8 +7,8 @@ import (
"os/signal"
"syscall"
bridge "github.com/hugot/whapp-deltachat/whappdc-bridge"
bridge "github.com/hugot/whapp-deltachat/bridge"
func main() {
@ -7,7 +7,7 @@ import (
type MessageHandler struct {
@ -5,7 +5,7 @@ import (
"sync"
"time"
func NewMessageTracker(DB *core.Database, flushInterval time.Duration) *MessageTracker {
func NewWhappContext(
// WhappHandler implements go-whaptsapp.Handler