You can remember the meaning of 聊天 with this easy mnemonic:
I love chatting (聊) with you while looking up at the sky (天).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.