Get all the messages of a user using api

Is there any way to get all messages directed or written by a specific user using this plugin?

https://github.com/deleolajide/ofmeet-openfire-plugin/tree/master/ofchat

If it is possible to consult about a conversation between two users, much better.

GET /restapi/v1/chat/{streamid}/messages
it’s the closest thing I see, but I’m not clear about the parameters

please help :worried:

Solved :joy: