Show pinned messages at top of chat instead of in separate page

This is a smart idea i wondered about it to would it be a similar dropdown to how discord has it with a little pin or it shows a pinned at the top like on twitch where users can hide it?