UNPKG

typescript-telegram-bot-api

Version:

Telegram Bot API wrapper for Node.js written in TypeScript

29 lines (28 loc) 690 B
/** * ## PhotoSize * This object represents one size of a photo or a file / sticker thumbnail. * @see https://core.telegram.org/bots/api#photosize */ export type PhotoSize = { /** * Identifier for this file, which can be used to download or reuse the file */ file_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. */ file_unique_id: string; /** * Photo width */ width: number; /** * Photo height */ height: number; /** * Optional. File size in bytes */ file_size?: number; };