If you're in gamepad mode, you need to bring up the main menu using either "Start" on your controller, or you can press "+" on the numpad.
The text command "/flist" can be typed into the chat bar to open your friend list directly.
If you have hidden the main menu in mouse mode by mistake, then the text command "/hud mmenu on" should bring it back.