PinnedMessageListController
class PinnedMessageListController(cid: String, channelClient: ChannelClient = ChatClient.instance().channel(cid))
Controller responsible for handling pinned message list state. It acts as a central place for business logic and state management required to show the pinned messages in a channel. The pinned messages are presented in a descending order based on Message.pinnedAt.
Parameters
cid
The full channel ID. Ex: "messaging:123".
channelClient
The ChannelClient (instantiated for the given cid).