Can NOT receive any message for Channel pagination.
lispking opened this issue · 1 comments
lispking commented
After calling sendMessage, the result of reading the message through the code in the case is [], but the content of the message can be read out with the channel.list() method.
Channel.getOrCreate(type, id)
.messages(MessagePaginationParameters.builder().limit(20).idLt(lastMessageId).build())
.members(PaginationParameters.builder().limit(20).offset(0).build())
.watchers(PaginationParameters.builder().limit(20).offset(0).build())
.request();
lispking commented
I know how to fix it, u can add .state(true) to fix.