MCPcopy
hub / github.com/gotify/server / SendMessage

Method SendMessage

plugin/compat/v1.go:151–158  ·  view source on GitHub ↗

SendMessage implements papiv1.MessageHandler.

(msg papiv1.Message)

Source from the content-addressed store, hash-verified

149
150// SendMessage implements papiv1.MessageHandler.
151func (c *PluginV1MessageHandler) SendMessage(msg papiv1.Message) error {
152 return c.WrapperHandler.SendMessage(Message{
153 Message: msg.Message,
154 Priority: msg.Priority,
155 Title: msg.Title,
156 Extras: msg.Extras,
157 })
158}
159
160// Enable implements wrapper.Plugin.
161func (c *PluginV1Instance) Enable() error {

Callers

nothing calls this directly

Calls 1

SendMessageMethod · 0.65

Tested by

no test coverage detected