loadPinnedMessages method
Implementation
Future<List<Message>> loadPinnedMessages({
required String conversationId,
required ConversationType type,
}) {
return checkResult(ChatSDKEvent.loadPinnedMessages, () async {
final conversation = await getConversation(
conversationId: conversationId,
type: type,
);
return await conversation!.loadPinnedMessages();
});
}