Is it possible to fetch messages by array of message id(s)? Let’s say I did send different messages, some of them got reply from other users, how could I get those reply messages back?
I assume using parentMessageId to indicate a specific message is a reply, then I have to exchange the full message details by using those message keys, but what I found from SDK is getMessagesByMessageId in which intake 1 message id only.
Unfortunately, there is no way to retrieve the messages via an array of message-ids. But if you want to know and take the reply messages, you can use the SendBird.ChannelHandler.
ChannelHandler.onThreadInfoUpdated callback will call the changes whenever the message’s thread information changed. If the callback is called you can receive the message and then you also can retrieve the messages via BaseChannel.getMessagesByMessageId function.