Starting with T20Is:
The record of 36 was first achieved by Yuvraj vs Broad in 2007, and later equalled by K Pollard vs A Dananjaya in 2021. As you can see, they were perfect 6 X 6s without the aid of no-balls and wides. No other batsman from India has scored 26 or more.
Now to ODIs:
This was first achieved by HH Gibbs (SA) vs DLS van Bunge (NL) in the 2007 World Cup. It was equalled by JS Malhotra (USA) v G Toka (PNG) in 2021. Both of these were perfect 6 x 6s.
The best for India is 32 (SS Iyer 31, R Pant 1) vs RL Chase (WI) in 2019.
And for Tests:
Bumrah vs Broad in 2022 would be fresh in your minds. See Footnote 3 in this link
The previous record was 28 by BC Lara (WI) v RJ Peterson (SA) in 2003.
The next best for India is 26 by HH Pandya vs PM Pushpakumara (SL) in 2017.
The only entry before 1980 is the 25 by B Sutcliffe (19) and RW Blair (6) vs HJ Tayfield in 1953-and that was an 8-ball over. There was an human-interest angle here, as Blair had just learnt of his fiancee’s death in NZ’s worst rail accident. And the SA fast bowlers had injured more than one NZ batsman.