mirror of
https://github.com/mattermost/mattermost.git
synced 2026-08-27 05:37:15 -05:00
* add NotificationWillBePushed hook * mocks * use a struct for hook parameters; simplify number of parameters sent across RPC * missing wg.Wait * change to a bool return value
13 lines
353 B
Go
13 lines
353 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package model
|
|
|
|
// PluginPushNotification is sent to the plugin when a push notification is going to be sent (via the
|
|
// NotificationWillBePushed hook).
|
|
type PluginPushNotification struct {
|
|
Post *Post
|
|
Channel *Channel
|
|
UserID string
|
|
}
|