How to get parentMessage info by using createMessageCollection?

When I create a MessageCollection instance through the createMessageCollection() method, MessageFilter does not provide a method to get parentMessage Info, only parentMessageId. This makes me need to get parentMessageInfo through the getMessagesByMessageId method.

Is there any way to solve this problem?