diff options
Diffstat (limited to 'plugin/api.go')
-rw-r--r-- | plugin/api.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/api.go b/plugin/api.go index 0b413d4d1..d0ad178ca 100644 --- a/plugin/api.go +++ b/plugin/api.go @@ -25,6 +25,9 @@ type API interface { // UnregisterCommand unregisters a command previously registered via RegisterCommand. UnregisterCommand(teamId, trigger string) error + // GetSession returns the session object for the Session ID + GetSession(sessionId string) (*model.Session, *model.AppError) + // GetConfig fetches the currently persisted config GetConfig() *model.Config |