updatePoll method
- {required int pollId,
- required PollUpdateParams params}
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');
return await chat.apiClient.send(PollUpdateRequest(
chat,
pollId: pollId,
params: params,
));
}