How to get list of the user subscriptions (list of channels)

So, you are building your own chat infrastructure, not using the Twitch chat?
Otherwise, all you need is inside the TMI.