method ApiMethods.editGeneralForumTopic
ApiMethods.editGeneralForumTopic(args: { chat_id: number | string; name: string; }): true

Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.

Parameters

args: { chat_id: number | string; name: string; }

Return Type

true

Usage

import { type ApiMethods } from "types";