How to get the offlinePresence status message?

The Presence object of an offline user is Null.

How can I get his offline status message using an API? I saw it is stored in the ofpresence file.

I see that Spark client is getting it so I guess there must be a way