Checks if the router query parameters are valid for a conversation and returns an error message if they are not.
The Next.js router object.
Checks if the router query parameters are valid for a conversation and returns an error message if they are not.