Creating Pinned messages when importing to MM

I am importing some messages from a platform and this platform provides pinned messages feature when exporting its data, but when I was creating the MM objects I couldn’t find anything that can make a post as a pinned message!
any idea how to implement that?
and thanks for your support in advance.