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

Type Name Methods
bool Archived
Is file archived? (Removed)
get, set
string ChannelId
If this file is attached to a post, the ID of that post.
get, set
long CreateAt
The time in milliseconds a file was created.
get, set
long DeleteAt
The time in milliseconds a file was deleted.
get, set
string Extension
The extension at the end of the file name.
get, set
bool HasPreviewImage
If this file is an image, whether or not it has a preview-sized version.
get, set
int Height
If this file is an image, the height of the file.
get, set
string Id
The unique identifier for this file.
get, set
string MimeType
The MIME type of the file.
get, set
string MiniPreview
Base64 image if file has a preview.
get, set
string Name
The name of the file.
get, set
int Size
The size of the file in bytes.
get, set
long UpdateAt
The time in milliseconds a file was last updated.
get, set
string UserId
The ID of the user that uploaded this file.
get, set
int Width
If this file is an image, the width of the file.
get, set

Details

Summary

Remote file details.

Constructors

FileDetails

public FileDetails()

Properties

Id

public string Id { get; set; }
Summary

The unique identifier for this file.

UserId

public string UserId { get; set; }
Summary

The ID of the user that uploaded this file.

ChannelId

public string ChannelId { get; set; }
Summary

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

CreateAt

public long CreateAt { get; set; }
Summary

The time in milliseconds a file was created.

UpdateAt

public long UpdateAt { get; set; }
Summary

The time in milliseconds a file was last updated.

DeleteAt

public long DeleteAt { get; set; }
Summary

The time in milliseconds a file was deleted.

Name

public string Name { get; set; }
Summary

The name of the file.

Extension

public string Extension { get; set; }
Summary

The extension at the end of the file name.

Size

public int Size { get; set; }
Summary

The size of the file in bytes.

MimeType

public string MimeType { get; set; }
Summary

The MIME type of the file.

Width

public int Width { get; set; }
Summary

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

Height

public int Height { get; set; }
Summary

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

HasPreviewImage

public bool HasPreviewImage { get; set; }
Summary

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

MiniPreview

public string MiniPreview { get; set; }
Summary

Base64 image if file has a preview.

Archived

public bool Archived { get; set; }
Summary

Is file archived? (Removed)

Generated with ModularDoc

Clone this wiki locally