Diborane (B2H6) has a three centre electron pair bond. Two types of hydrogen i. e., terminal hydrogen and bridging hydrogen are present in this structure.
Boron -Terminal hydrogen ⇒ Two centre electron pair bond
Boron -Bridging hydrogen ⇒ Three centre electron pair bond.
NOTE:
Use the below image to understand the two and three centre electron-pair bond