• Toggle whether "General" topic in a forum is hidden or not

    Only admins with manageTopics permission can do this.

    Parameters

    • client: ITelegramClient
    • params: {
          chatId: InputPeerLike;
          hidden: boolean;
          shouldDispatch?: true;
      }
      • chatId: InputPeerLike

        Chat ID or username

      • hidden: boolean

        Whether the topic should be hidden

      • OptionalshouldDispatch?: true

        Whether to dispatch the returned service message (if any) to the client's update handler.

    Returns Promise<Message>

    Service message about the modification