diff options
Diffstat (limited to 'plugin/api.go')
-rw-r--r-- | plugin/api.go | 3 |
1 files changed, 3 insertions, 0 deletions
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. // |