awaitUpdatePollOption

suspend fun BaseChannel.awaitUpdatePollOption(pollId: Long, pollOptionId: Long, optionText: String): Poll

Updates optionText fields of this poll option. A non-null PollOption instance will be returned once updated successfully

Return

The poll option

Since

4.17.0

Parameters

pollId

The poll id to update option

pollOptionId

The poll option id to update

optionText

The option text to update