Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/mtkruto/mod.ts>Client#setChatPhoto

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.setChatPhoto
import { Client } from "https://deno.land/x/mtkruto@0.2.30/mod.ts";

Set a chat's photo.

Parameters

chatId: number

The identifier of the chat.

photo: FileSource

A photo to set as the chat's photo.

optional
params: SetChatPhotoParams