subscribe On Main
fun subscribeOnMain(channelId: Long, messageId: Long, onNext: (HashMap<Int, PollsStore.VotesSnapshot>?) -> Unit): Subscription
Subscribes to poll changes, and run the handler on the main UI thread.
Parameters
channel Id
Channel ID of message
message Id
Message ID to subscribe to
on Next
Event handler, will run on the main thread