Unpin a message
Sendbird Chat SDK for iOS allows you to unpin messages in group channels. Unpinning messages that are no longer relevant or important helps to keep the pinned messages organized in your channel.
Unpinning a message in a channel
You can unpin a message using the
unpinMessage() method of the
GroupChannel class. Specify the
messageId to unpin as shown in the code below.
The following table shows a list of properties related to the pinned messages feature. The
lastPinnedMessage properties belong to the
List of properties
Specifies an array of message IDs of the pinned messages in a group channel.
Specifies the last message that was pinned in a group channel.