Skip to content

GramIO API Reference / gramio/dist / TelegramPhotoSize

Interface: TelegramPhotoSize

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

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:1329
file_size?numberOptional. File size in bytes@gramio/types/out/objects.d.ts:1345
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:1333
heightnumberPhoto height@gramio/types/out/objects.d.ts:1341
widthnumberPhoto width@gramio/types/out/objects.d.ts:1337