• Create a new supergroup

    Parameters

    • client: ITelegramClient
    • params: { description?: string; forum?: boolean; title: string; ttlPeriod?: number }
      • Optionaldescription?: string

        Supergroup description

      • Optionalforum?: boolean

        Whether to create a forum

      • title: string

        Supergroup title

      • OptionalttlPeriod?: number

        TTL period (in seconds) for the newly created supergroup

        0 (i.e. messages don't expire)
        

    Returns Promise<Chat>

    Newly created supergroup