Turn messaging off/on in game

Can there be a keyboard shortcut to turn off/on messaging during a ride/event? For when the group chat gets annoying or the jokes just too bad then it would be nice to have a shortcut to disable messaging and turn it back on again if you want to.

M - group message window?