awaitAddPollOption

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

Add poll option

Return

The poll with added option

Since

4.17.0

Parameters

pollId

The poll id to add option

optionText

The option text to add