75bd409ba0
Backend support for subscribing/unsubscribing to blocks, typically cards and boards. Notifies subscribers when changes are made to cards they are subscribed to.
13 lines
540 B
Go
13 lines
540 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package notifymentions
|
|
|
|
import "github.com/mattermost/focalboard/server/services/notify"
|
|
|
|
// MentionDelivery provides an interface for delivering @mention notifications to other systems, such as
|
|
// channels server via plugin API.
|
|
// On success the user id of the user mentioned is returned.
|
|
type MentionDelivery interface {
|
|
MentionDeliver(mentionUsername string, extract string, evt notify.BlockChangeEvent) (string, error)
|
|
}
|