Add SetProfileImage for plugin API (#9831)

Этот коммит содержится в:
Carlos Tadeu Panato Junior
2018-11-15 21:23:03 +01:00
коммит произвёл Hanzei
родитель f0351f23f1
Коммит b29f1cb844
7 изменённых файлов: 136 добавлений и 34 удалений

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

@@ -264,6 +264,11 @@ type API interface {
// Minimum server version: 5.6
GetProfileImage(userId string) ([]byte, *model.AppError)
// SetProfileImage sets a user's profile image.
//
// Minimum server version: 5.6
SetProfileImage(userId string, data []byte) *model.AppError
// GetEmojiList returns a page of custom emoji on the system.
//
// The sortBy parameter can be: "name".