deletePoll method

Future<void> deletePoll(
  1. {required int pollId}
)

Deletes this poll.

Implementation

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