partialUpdatePoll method

Future<UpdatePollResponse> partialUpdatePoll(
  1. String pollId, {
  2. Map<String, Object?>? set,
  3. List<String>? unset,
})

Partially updates a Poll by pollId.

Use set to define values to be set. Use unset to define values to be unset.

Implementation

Future<UpdatePollResponse> partialUpdatePoll(
  String pollId, {
  Map<String, Object?>? set,
  List<String>? unset,
}) =>
    _chatApi.polls.partialUpdatePoll(
      pollId,
      set: set,
      unset: unset,
    );