onResult

abstract fun onResult(updatedPolls: List<Poll>?, deletedPollIds: List<Long>?, hasMore: Boolean, token: String?, e: SendbirdException?)

A callback for getting poll changelogs by token.

Since

4.1.0

Parameters

updatedPolls

Returned updated polls.

deletedPollIds

Returned deleted poll IDs.

hasMore

Returned true if it has more changelogs.

token

Returned token to get next changelogs.

e

null if no error.