Hello,
I followed TypeScript Live Objects/Collections - Amity Docs for the Live Message collection. However, it seems only handle the prevPage case, so I can’t get the right nextPage like liveChannels does.
Please check. Thanks.
Additionally, when I change from channelId1 to channelId2 and back to channelId1, the messages result is still of the channelId2. It seems the result always represents the latest query.
Hey @baodongle,
- Seems like a bug on the SDK, I’ll keep you updated on this one. I’ll try to add this in the current release. If not, it can be part of the next one.
 - Unable to reproduce this, do you mean 
channelIdorsubChannelId 
Thank you for your replying, @cijin. I mean subChannelId.
- I’ve just realized that 
localReadToSegmentis usually 1 less thanmessageCount. Please explain why. Thank you.
 
- 
startReadingandstopReadingseem not to work. I think it happens because I didn’t touchsubChannelrecords. 
const subChannel = pullFromCache<Amity.SubChannel>(['subChannel', 'get', subChannelId]);
if (!subChannel) {
  return;
}
            Hey @baodongle,
As I mentioned prior, read count is a work in progress. The SDK sets localReadToSegment as messageCount - 1. It’s only a placeholder till the actual work is completed.
Same goes for startReading / stopReading.
The support team can keep you in the loop when the marker service is ready for use.
C.C. @SocialPlus_Support
Hi @baodongle
We’re fixing this in our current release which should be done by the end of this month.
We’ll inform you once it’s released.
Any other issues please don’t hesitate to let us know.
Thank you,
Amity Support
