editPoll

abstract fun editPoll(    targetEvent: TimelineEvent,     pollType: PollType,     question: String,     options: List<String>): Cancelable

Edit a poll.

Parameters

targetEvent

The poll event to edit

pollType

indicates open or closed polls

question

The edited question

options

The edited options