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

x/mtkruto/3_types.ts>ChatPhoto

Cross-runtime JavaScript library for building Telegram clients
Latest
interface ChatPhoto
Re-export
import { type ChatPhoto } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";

A chat photo.

Properties

smallFileId: string

A file identifier that can be used to download or reuse the small version of the chat photo (160x160).

smallFileUniqueId: string

A file identifier that can be used to identify the small version of the chat photo (160x160).

bigFileId: string

A file identifier that can be used to download or reuse the big version of the chat photo (640x640).

bigFileUniqueId: string

A file identifier that can be used to identify the big version of the chat photo (640x640).

hasVideo: boolean

Whether the chat photo is animated.

personal: boolean

Differentiates between user profile photos.