19 lines
280 B
Go
19 lines
280 B
Go
|
package handler
|
||
|
|
||
|
import (
|
||
|
"github.com/mymmrac/telego"
|
||
|
)
|
||
|
|
||
|
type MessageHandler struct {
|
||
|
app App
|
||
|
}
|
||
|
|
||
|
func NewMessageHandler(app App) Handler {
|
||
|
return &MessageHandler{app: app}
|
||
|
}
|
||
|
|
||
|
func (h *MessageHandler) Handle(telego.Update) error {
|
||
|
// TODO implement me
|
||
|
panic("implement me")
|
||
|
}
|