From the App:
Go to Your Team Settings by going to the Dashboard and pressing the gear icon in the top right
Click 'Edit Team'
Toggle Team Chat to Off (grey)
From the Web:
Go to Dashboard
For a team you are an admin of click "Settings" beside the team dropdown
Under "Team Details" set Team Chat to Disabled