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 0f481784e..93b5a6d2e 100644
--- a/plugin/api.go
+++ b/plugin/api.go
@@ -254,6 +254,11 @@ type API interface {
// Minimum server version: 5.6
GetEmojiByName(name string) (*model.Emoji, *model.AppError)
+ // GetEmoji returns a custom emoji based on the emojiId string.
+ //
+ // Minimum server version: 5.6
+ GetEmoji(emojiId string) (*model.Emoji, *model.AppError)
+
// CopyFileInfos duplicates the FileInfo objects referenced by the given file ids,
// recording the given user id as the new creator and returning the new set of file ids.
//