MattermostFilesApi class
Methods
-
getFile(String fileId)
→ Future<void>
-
Get a file
-
getFileInfo(String fileId)
→ Future<MmFileInfo?>
-
Get metadata for a file
-
getFileInfoWithHttpInfo(String fileId)
→ Future<Response>
-
Get metadata for a file
-
getFileLink(String fileId)
→ Future<MmGetFileLink200Response?>
-
Get a public file link
-
getFileLinkWithHttpInfo(String fileId)
→ Future<Response>
-
Get a public file link
-
getFilePreview(String fileId)
→ Future<void>
-
Get a file's preview
-
getFilePreviewWithHttpInfo(String fileId)
→ Future<Response>
-
Get a file's preview
-
getFilePublic(String fileId, String h)
→ Future<void>
-
Get a public file
-
getFilePublicWithHttpInfo(String fileId, String h)
→ Future<Response>
-
Get a public file
-
getFileThumbnail(String fileId)
→ Future<void>
-
Get a file's thumbnail
-
getFileThumbnailWithHttpInfo(String fileId)
→ Future<Response>
-
Get a file's thumbnail
-
getFileWithHttpInfo(String fileId)
→ Future<Response>
-
Get a file
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
searchFiles(String teamId, String terms, bool isOrSearch, {int? timeZoneOffset, bool? includeDeletedChannels, int? page, int? perPage})
→ Future<MmFileInfoList?>
-
Search files in a team
-
searchFilesWithHttpInfo(String teamId, String terms, bool isOrSearch, {int? timeZoneOffset, bool? includeDeletedChannels, int? page, int? perPage})
→ Future<Response>
-
Search files in a team
-
toString()
→ String
-
A string representation of this object.
inherited
-
uploadFile({String? channelId, String? filename, MultipartFile? files, String? channelId2, String? clientIds})
→ Future<MmUploadFile201Response?>
-
Upload a file
-
uploadFileWithHttpInfo({String? channelId, String? filename, MultipartFile? files, String? channelId2, String? clientIds})
→ Future<Response>
-
Upload a file