From a9ee2e01c5584396000b0368fe8366d60ab29534 Mon Sep 17 00:00:00 2001 From: Jason Mojica Date: Thu, 25 Oct 2018 13:54:10 +0000 Subject: GH-9617 Add plugin API for GetEmoji method (#9656) * Add GetEmoji plugin api * Add server version --- plugin/api.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugin/api.go') 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. // -- cgit v1.2.3-1-g7c22