ML technique to predict next online I want a direction for ML technique to predict the next time you will be online in chat app

My table contains; user id, timestamp &amp; status

status is a categorical variable (online, composing, offline), I'm saving a row for each status change which means user online, maybe writes something to me (composing) and afterwards went offline, so I can extract the time online (currently I don't see a reason for this feature)


I want to export the model to PMML


What is the best approach if I want to a service to get the next timestamp that user will be online ?
That sounds like time series forecasting. Here's a related post:

https://stats.stackexchange.com/questions/212912/forecast-time-series-data-with-external-variables