This repository has been archived on 2024-11-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mattermost-plugin-attachmen.../server/plugin.go
2018-07-23 13:43:22 -04:00

24 lines
705 B
Go

package main
import (
"github.com/mattermost/mattermost-server/plugin"
)
type Plugin struct {
plugin.MattermostPlugin
// The user to use as part of the sample plugin, created automatically if it does not exist.
Username string
// The channel to use as part of the sample plugin, created for each team automatically if it does not exist.
ChannelName string
// disabled tracks whether or not the plugin has been disabled after activation. It always starts enabled.
disabled bool
// sampleUserId is the id of the user specified above.
sampleUserId string
// sampleChannelIds maps team ids to the channels created for each using the channel name above.
sampleChannelIds map[string]string
}