telegramx.js

PhotoSize

interface

This object represents one size of a photo or a file / sticker thumbnail.

Declaration

interface PhotoSize 

Properties

file_idproperty#
file_id: string;

Identifier for this file, which can be used to download or reuse the file

file_sizeproperty#
file_size?: number;

Optional. File size in bytes

file_unique_id: string;

Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

heightproperty#
height: number;

Photo height

widthproperty#
width: number;

Photo width