2021-12-10 17:46:37 +02:00
|
|
|
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
|
|
// See LICENSE.txt for license information.
|
|
|
|
|
|
|
|
package notifysubscriptions
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/mattermost/focalboard/server/model"
|
|
|
|
|
|
|
|
mm_model "github.com/mattermost/mattermost-server/v6/model"
|
|
|
|
)
|
|
|
|
|
|
|
|
// SubscriptionDelivery provides an interface for delivering subscription notifications to other systems, such as
|
|
|
|
// channels server via plugin API.
|
|
|
|
type SubscriptionDelivery interface {
|
2022-05-04 22:10:26 +02:00
|
|
|
SubscriptionDeliverSlackAttachments(teamID string, subscriberID string, subscriberType model.SubscriberType,
|
2021-12-10 17:46:37 +02:00
|
|
|
attachments []*mm_model.SlackAttachment) error
|
|
|
|
}
|