updatePoll

suspend fun BaseChannel.updatePoll(pollId: Long, params: PollUpdateParams): Poll

Update poll

Return

The poll

Since

4.15.0

Parameters

pollId

The poll id to update

params

The parameters to update poll


fun BaseChannel.updatePoll(pollId: Long, params: PollUpdateParams, handler: ResultHandler<Poll>?)

Update poll

Since

4.15.0

Parameters

pollId

The ID of the poll to update

params

The params for updating a poll. See PollUpdateParams

handler

The handler for the result