func (c *Plugin) SetMessageHandler(h plugin.MessageHandler) {
	c.msgHandler = h
}
SetMessageHandler implements plugin.Messenger
package main
import (
	"github.com/gotify/plugin-api"
)
type Plugin struct {
	config     *Config
	enabled    bool
	msgHandler plugin.MessageHandler
	basePath   string
	UserCtx plugin.UserContext
}
func (c *Plugin) Enable() error {
	c.enabled = true
	return nil
}
func (c *Plugin) Disable() error {
	c.enabled = false
	return nil
}