summaryrefslogtreecommitdiffstats
path: root/plugin/api.go
diff options
context:
space:
mode:
authorS4KH <kh.syerikjan@gmail.com>2018-10-19 04:07:21 +0800
committerHarrison Healey <harrisonmhealey@gmail.com>2018-10-18 16:07:21 -0400
commitc3d536c644f102cbdc07354aa2ecf8bc8194882e (patch)
treee44825da2de7c9c6a8bb9f8352597b57de8af1aa /plugin/api.go
parentd1805733feb8c48a7286eb1affc1f98ed1a044a8 (diff)
downloadchat-c3d536c644f102cbdc07354aa2ecf8bc8194882e.tar.gz
chat-c3d536c644f102cbdc07354aa2ecf8bc8194882e.tar.bz2
chat-c3d536c644f102cbdc07354aa2ecf8bc8194882e.zip
GH-9619 GetEmojiImage added to plugin API (#9628)
* GH-9619 conflict fix * GH-9619 fixed conflicts, version comment
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