GH-9617 Add plugin API for GetEmoji method (#9656)

* Add GetEmoji plugin api

* Add server version
Этот коммит содержится в:
Jason Mojica
2018-10-25 13:54:10 +00:00
коммит произвёл Harrison Healey
родитель 54b7a29581
Коммит a9ee2e01c5
4 изменённых файлов: 63 добавлений и 0 удалений

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

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