updatePoll method
Updates fields of this poll with given params
.
Implementation
Future<Poll> updatePoll({
required int pollId,
required PollUpdateParams params,
}) async {
sbLog.i(StackTrace.current, 'pollId: $pollId');
checkUnsupportedAction();
return await chat.apiClient.send(PollUpdateRequest(
chat,
pollId: pollId,
params: params,
));
}