when using getPreviousMessagesByTimestamp, or getPreviousMessagesByID both return the SendBirdException: Invalid parameter.
You can reference the sendbird.d.ts file in the package to get information on whats available/what you are missing