Game lags for a second when sending a message ingame.

It’s only for a second, once before I start the message, and when I send it. I can’t help but think, what is causing this and how can I fix it? :confused: