add GetEmojiByName method to plugin API (#9641)

Этот коммит содержится в:
Charles Kenney
2018-10-15 17:09:30 -04:00
коммит произвёл Christopher Speller
родитель b843774de8
Коммит 1cdf717446
4 изменённых файлов: 61 добавлений и 0 удалений

Просмотреть файл

@@ -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.
//