import { ITelegramClient } from '../../client.types.js'; import { InputFileLike, InputPeerLike } from '../../types/index.js'; /** * Set a new chat photo or video. * * You must be an administrator and have the appropriate permissions. */ export declare function setChatPhoto(client: ITelegramClient, params: { /** Chat ID or username */ chatId: InputPeerLike; /** Media type (photo or video) */ type: 'photo' | 'video'; /** Input media file */ media: InputFileLike; /** * When `type = video`, timestamp in seconds which will be shown * as a static preview. */ previewSec?: number; }): Promise;