To leave a chat group, you need to click on the leave this chat button in the bottom-right corner of the screen.