deletePollOption method

Future<void> deletePollOption(
  1. {required int pollId,
  2. required int pollOptionId}
)

Deletes this poll option.

Implementation

Future<void> deletePollOption({
  required int pollId,
  required int pollOptionId,
}) async {
  sbLog.i(StackTrace.current, 'pollId: $pollId, pollOptionId: $pollOptionId');

  await chat.apiClient.send(PollOptionDeleteRequest(
    chat,
    pollId: pollId,
    pollOptionId: pollOptionId,
  ));
}