closePoll method

Future<Poll> closePoll(
  1. {required int pollId}
)

Closes this poll.

Implementation

Future<Poll> closePoll({
  required int pollId,
}) async {
  sbLog.i(StackTrace.current, 'pollId: $pollId');
  return await chat.apiClient.send(PollCloseRequest(chat, pollId: pollId));
}