closePoll

suspend fun BaseChannel.closePoll(pollId: Long): Poll

Close poll

Since

4.15.0

Parameters

pollId

The ID of the poll to close


fun BaseChannel.closePoll(pollId: Long, handler: ResultHandler<Poll>?)

Close poll

Since

4.15.0

Parameters

pollId

The ID of the poll to close

handler

The handler for the result