From 1cdf717446d79191701949a97557f801681bc278 Mon Sep 17 00:00:00 2001 From: Charles Kenney Date: Mon, 15 Oct 2018 17:09:30 -0400 Subject: add GetEmojiByName method to plugin API (#9641) --- plugin/api.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin/api.go') diff --git a/plugin/api.go b/plugin/api.go index 713fab1b4..a4d643187 100644 --- a/plugin/api.go +++ b/plugin/api.go @@ -200,6 +200,9 @@ type API interface { // GetProfileImage gets user's profile image GetProfileImage(userId string) ([]byte, *model.AppError) + // GetEmojiByName gets an emoji by it's name. + GetEmojiByName(name 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