While in game, press F1 to open the console. Type any text and press Enter. Your message will be delivered to all other players automatically.

Custom commands (starting with "/") won't be sent to other players.