method ApiMethods.setChatDescription
ApiMethods.setChatDescription(args: { chat_id: number | string; description?: string; }): true

Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.

Parameters

args: { chat_id: number | string; description?: string; }

Return Type

true

Usage

import { type ApiMethods } from "types";