import { ITelegramClient } from '../../client.types.js'; import { ForumTopic, InputPeerLike, Message } from '../../types/index.js'; /** * Toggle open/close status of a topic in a forum * * Only admins with `manageTopics` permission can do this. * * @returns Service message about the modification */ export declare function toggleForumTopicClosed(client: ITelegramClient, parmas: { /** Chat ID or username */ chatId: InputPeerLike; /** ID of the topic (i.e. its top message ID) */ topicId: number | ForumTopic; /** Whether the topic should be closed */ closed: boolean; /** * Whether to dispatch the returned service message (if any) * to the client's update handler. */ shouldDispatch?: true; }): Promise;