getPreviousMessagesByID deprecated without documentation

I have updated my JS SDK to the latest version 3.0.145 (tried 142, too).
Getting message that getPreviousMessagesByID is deprecated, also it is annotated as deprecated in SendBird.d.ts file. However there is no sign of the deprecation in changelog. There is even mention of this method in version .143. Can you please clarify on that? Also if this is correct and it’s only a doco bug, can you please advice what to use instead of get**.MessagesBy**methods? Thanks a lot in advance!

Regards,
Evgeniy

@evgeniy_kalinin,

Welcome to the Sendbird Community! It does look like getPreviousMessagesByID was deprecated in favor of getMessagesByMessageId.

I’ll look at getting the change log updated. Sorry about that!

2 Likes