Downloading all messages associated with particular user


Hi there,

I am wondering if there are any methods available, either via the API or perhaps by querying the MongoDB directly, to pull a particular user’s entire message history if that makes sense? Just every message associated with a particular user, essentially. If possible, even if the message was deleted by the user in the past?

Thank you very much.