Available types

PhotoSize

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

fields

fieldtyperequireddescription
file_idstringrequiredIdentifier for this file, which can be used to download or reuse the file
file_unique_idstringrequiredUnique 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.
widthnumberrequiredPhoto width
heightnumberrequiredPhoto height
file_sizenumberoptionalOptional. File size in bytes

import

types.ts
import type { PhotoSize } from "@yaebal/types";

used by

types