Select Chat to open the chat list. Find the name of the conversation you want to pin and click More options > Pin. This ensures that the chat stays at the top of your list.
To unpin a chat, just click More options > Unpin.
Go to the desktop or web app to favorite or unfavorite a chat.