Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PhotoDetails

Represents a photo.

Hierarchy

  • PhotoDetails

Index

Properties

animated

animated: boolean

Whether the photo is animated.

id

id: string

The photo's ID.

md5_hash

md5_hash: string

The photo's MD5 hash.

original_filename

original_filename: string

The original filename.

sizes

sizes: object

The sizes available.

Type declaration

  • [key: string]: string

store_filename

store_filename: string

The filename stored on the server.

upload_time

upload_time: Moment

When the photo was uploaded.

uploader

uploader: string

The user that uploaded the photo.

Methods

toJSON

  • toJSON(): this

Static fromRest

Generated using TypeDoc