Versions in this module Expand all Collapse all v5 v5.31.1 Dec 23, 2020 Changes in this version + type Actions struct + AddUserToChannel func(*model.User, *model.Channel) (*model.ChannelMember, *model.AppError) + CreateChannel func(*model.Channel, bool) (*model.Channel, *model.AppError) + CreateDirectChannel func(string, string) (*model.Channel, *model.AppError) + CreateGroupChannel func([]string, string) (*model.Channel, *model.AppError) + DoUploadFile func(time.Time, string, string, string, string, []byte) (*model.FileInfo, *model.AppError) + GeneratePreviewImage func(image.Image, string, int) + GenerateThumbnailImage func(image.Image, string, int, int) + InvalidateAllCaches func() + JoinUserToTeam func(*model.Team, *model.User, string) *model.AppError + MaxPostSize func() int + PrepareImage func(fileData []byte) (image.Image, int, int) + UpdateActive func(*model.User, bool) (*model.User, *model.AppError) + type SlackImporter struct + func New(store store.Store, actions Actions, config *model.Config) *SlackImporter + func (si *SlackImporter) SlackImport(fileData multipart.File, fileSize int64, teamID string) (*model.AppError, *bytes.Buffer) Other modules containing this package github.com/adacta-ru/mattermost-server/v6