summaryrefslogtreecommitdiffstats
path: root/plugin/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/api.go')
-rw-r--r--plugin/api.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/api.go b/plugin/api.go
index fc64c627a..dc60bb57a 100644
--- a/plugin/api.go
+++ b/plugin/api.go
@@ -276,6 +276,11 @@ type API interface {
// Minimum server version: 5.3
ReadFile(path string) ([]byte, *model.AppError)
+ // GetEmojiImage returns the emoji image.
+ //
+ // Minimum server version: 5.6
+ GetEmojiImage(emojiId string) ([]byte, string, *model.AppError)
+
// KVSet will store a key-value pair, unique per plugin.
KVSet(key string, value []byte) *model.AppError