2021-09-13 21:36:36 +02:00
|
|
|
// 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"
|
|
|
|
|
2021-12-10 16:46:37 +01:00
|
|
|
// 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)
|
2021-09-13 21:36:36 +02:00
|
|
|
}
|