Colapse ChannelBox in Python or Mel?

Hey guys, would somebody know how I could toggle colapse Channel Box (not close)?
I could use mel or python.

thanks a lot!