Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 8
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.
publicFileDetails()publicstringId{get;set;}The unique identifier for this file.
publicstringUserId{get;set;}The ID of the user that uploaded this file.
publicstringChannelId{get;set;}If this file is attached to a post, the ID of that post.
publiclongCreateAt{get;set;}The time in milliseconds a file was created.
publiclongUpdateAt{get;set;}The time in milliseconds a file was last updated.
publiclongDeleteAt{get;set;}The time in milliseconds a file was deleted.
publicstringName{get;set;}The name of the file.
publicstringExtension{get;set;}The extension at the end of the file name.
publicintSize{get;set;}The size of the file in bytes.
publicstringMimeType{get;set;}The MIME type of the file.
publicintWidth{get;set;}If this file is an image, the width of the file.
publicintHeight{get;set;}If this file is an image, the height of the file.
publicboolHasPreviewImage{get;set;}If this file is an image, whether or not it has a preview-sized version.
publicstringMiniPreview{get;set;}Base64 image if file has a preview.
publicboolArchived{get;set;}Is file archived? (Removed)
Generated withModularDoc