Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/manage.ts>ChatPhoto

Type declarations of the Telegram Bot API.
Latest
interface ChatPhoto
import { type ChatPhoto } from "https://deno.land/x/grammy_types@v3.16.0/manage.ts";

This object represents a chat photo.

Properties

small_file_id: string

File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

small_file_unique_id: string

Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

big_file_id: string

File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

big_file_unique_id: string

Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.