-
-
Notifications
You must be signed in to change notification settings - Fork 9
mattermostmodels FileDetails
BigMakCode edited this page Aug 5, 2024
·
1 revision
Remote file details.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph Mattermost.Models
Mattermost.Models.FileDetails[[FileDetails]]
end
| Type | Name | Methods |
|---|---|---|
bool |
ArchivedIs file archived? (Removed) |
get, set |
string |
ChannelIdIf this file is attached to a post, the ID of that post. |
get, set |
long |
CreateAtThe time in milliseconds a file was created. |
get, set |
long |
DeleteAtThe time in milliseconds a file was deleted. |
get, set |
string |
ExtensionThe extension at the end of the file name. |
get, set |
bool |
HasPreviewImageIf this file is an image, whether or not it has a preview-sized version. |
get, set |
int |
HeightIf this file is an image, the height of the file. |
get, set |
string |
IdThe unique identifier for this file. |
get, set |
string |
MimeTypeThe MIME type of the file. |
get, set |
string |
MiniPreviewBase64 image if file has a preview. |
get, set |
string |
NameThe name of the file. |
get, set |
int |
SizeThe size of the file in bytes. |
get, set |
long |
UpdateAtThe time in milliseconds a file was last updated. |
get, set |
string |
UserIdThe ID of the user that uploaded this file. |
get, set |
int |
WidthIf this file is an image, the width of the file. |
get, set |
Remote file details.
public FileDetails()public string Id { get; set; }The unique identifier for this file.
public string UserId { get; set; }The ID of the user that uploaded this file.
public string ChannelId { get; set; }If this file is attached to a post, the ID of that post.
public long CreateAt { get; set; }The time in milliseconds a file was created.
public long UpdateAt { get; set; }The time in milliseconds a file was last updated.
public long DeleteAt { get; set; }The time in milliseconds a file was deleted.
public string Name { get; set; }The name of the file.
public string Extension { get; set; }The extension at the end of the file name.
public int Size { get; set; }The size of the file in bytes.
public string MimeType { get; set; }The MIME type of the file.
public int Width { get; set; }If this file is an image, the width of the file.
public int Height { get; set; }If this file is an image, the height of the file.
public bool HasPreviewImage { get; set; }If this file is an image, whether or not it has a preview-sized version.
public string MiniPreview { get; set; }Base64 image if file has a preview.
public bool Archived { get; set; }Is file archived? (Removed)
Generated with ModularDoc