Skip to content

GramIO API Reference / gramio/dist / TelegramPhotoSize

Interface: TelegramPhotoSize

Defined in: @gramio/types/out/objects.d.ts:1449

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

Documentation

Properties

PropertyTypeDescriptionDefined in
file_idstringIdentifier for this file, which can be used to download or reuse the file@gramio/types/out/objects.d.ts:1453
file_size?numberOptional. File size in bytes@gramio/types/out/objects.d.ts:1469
file_unique_idstringUnique 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.@gramio/types/out/objects.d.ts:1457
heightnumberPhoto height@gramio/types/out/objects.d.ts:1465
widthnumberPhoto width@gramio/types/out/objects.d.ts:1461