Pinned messages act as easy-to-spot shortcuts to important parts of the conversation:

Pins can be either public or private. To pin a message, select a message and click the hamburger icon:

To unpin a message, click the pin to jump to it, open the message menu, and select Unpin.