Help please with createMessageCollection pagination

How i can load more items after call .loadNext()
I trying to pass startingPoint: 10 in the filters but nothing is changes

const [files, setFiles] = useState<BaseMessage>();
const [filter] = useState(
{
filter:
{
messageTypeFilter: MessageTypeFilter.FILE,
match: () => false,
customTypesFilter: [‘’],
senderUserIdsFilter: ,
replyType: ReplyType.ALL,
clone: () => filter.filter,
},
startingPoint: 10,
limit: 10,
},
);
const isGroup = currentChannel.memberCount > 1;

useEffect(() => {
const collect = currentChannel.createMessageCollection(filter as MessageCollectionParams);
collect.loadNext()
.then((res) => {
setFiles(res);
}).catch(() => {});
}, [currentChannel, filter]);

Hi,

The startingPoint parameter is the reference point of message retrieval for a chat view. This should be specified as a timestamp and not as 10.