To rename a chat, click on the three dots next to the chat and select 'Rename.' The chat name will become an editable input field where you can enter the new name. Simply click outside the field to save the changes.
The rename button for a specific chat