setMessagePinHandler

Sets the handler used to handle when the message is going to be pinned.

Parameters

messagePinHandler

The handler to use.