closePoll

fun closePoll(pollId: String)

Close a poll in a message.

Parameters

pollId

The poll id.


fun closePoll(poll: Poll)

Closes the given poll.

Parameters

poll

The poll to close.