getPinnedMessagesInConversation
abstract fun getPinnedMessagesInConversation(conversation: IRainbowConversation, listener: RainbowListener<List<PinMessage>, Unit>? = null)
Retrieves the list of pinned messages in a specific conversation.
This method returns all messages that have been pinned within the provided IRainbowConversation. The pinned messages are returned as a list of PinMessage objects. The listener's onSuccess
method will be invoked with this list upon successful retrieval.
Parameters
conversation
The IRainbowConversation from which the pinned messages will be retrieved.
listener
An optional callback of type RainbowListenerPinMessage>, Unit> that is invoked upon completion of the operation. If not required, set to null.