Cvar to disable chat

Hey all.

The interface options allow to disable the chat completely.

But i cant find the cvar for it. Is there none?

Found a workaround, instead of disabling the chat when needed i just enable a filter for all chat messages when needed, same effect.

For reference if someone has the need.

https://warcraft.wiki.gg/wiki/API_ChatFrame_AddMessageEventFilter

/close