Skip to content

mattermostmodels FileDetails

BigMakCode edited this page Aug 5, 2024 · 1 revision

FileDetails Public class

Description

Remote file details.

Diagram

 flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph Mattermost.Models
Mattermost.Models.FileDetails[[FileDetails]]
end
Loading

Members

Properties

Public properties

TypeNameMethods
boolArchived
Is file archived? (Removed)
get, set
stringChannelId
If this file is attached to a post, the ID of that post.
get, set
longCreateAt
The time in milliseconds a file was created.
get, set
longDeleteAt
The time in milliseconds a file was deleted.
get, set
stringExtension
The extension at the end of the file name.
get, set
boolHasPreviewImage
If this file is an image, whether or not it has a preview-sized version.
get, set
intHeight
If this file is an image, the height of the file.
get, set
stringId
The unique identifier for this file.
get, set
stringMimeType
The MIME type of the file.
get, set
stringMiniPreview
Base64 image if file has a preview.
get, set
stringName
The name of the file.
get, set
intSize
The size of the file in bytes.
get, set
longUpdateAt
The time in milliseconds a file was last updated.
get, set
stringUserId
The ID of the user that uploaded this file.
get, set
intWidth
If this file is an image, the width of the file.
get, set

Details

Summary

Remote file details.

Constructors

FileDetails

publicFileDetails()

Properties

Id

publicstringId{get;set;}
Summary

The unique identifier for this file.

UserId

publicstringUserId{get;set;}
Summary

The ID of the user that uploaded this file.

ChannelId

publicstringChannelId{get;set;}
Summary

If this file is attached to a post, the ID of that post.

CreateAt

publiclongCreateAt{get;set;}
Summary

The time in milliseconds a file was created.

UpdateAt

publiclongUpdateAt{get;set;}
Summary

The time in milliseconds a file was last updated.

DeleteAt

publiclongDeleteAt{get;set;}
Summary

The time in milliseconds a file was deleted.

Name

publicstringName{get;set;}
Summary

The name of the file.

Extension

publicstringExtension{get;set;}
Summary

The extension at the end of the file name.

Size

publicintSize{get;set;}
Summary

The size of the file in bytes.

MimeType

publicstringMimeType{get;set;}
Summary

The MIME type of the file.

Width

publicintWidth{get;set;}
Summary

If this file is an image, the width of the file.

Height

publicintHeight{get;set;}
Summary

If this file is an image, the height of the file.

HasPreviewImage

publicboolHasPreviewImage{get;set;}
Summary

If this file is an image, whether or not it has a preview-sized version.

MiniPreview

publicstringMiniPreview{get;set;}
Summary

Base64 image if file has a preview.

Archived

publicboolArchived{get;set;}
Summary

Is file archived? (Removed)

Generated withModularDoc

Clone this wiki locally