• Delete a forum topic and all its history

    Parameters

    • client: ITelegramClient
    • chat: InputPeerLike

      Chat or user ID, username, phone number, "me" or "self"

    • topicId: number | ForumTopic

      ID of the topic (i.e. its top message ID)

    • Optionalparams: {
          shouldDispatch?: true;
      }
      • OptionalshouldDispatch?: true

        Whether to dispatch updates that will be generated by this call. Doesn't follow disableNoDispatch

    Returns Promise<void>