addRemoveAdmins function

Future<CubeDialog> addRemoveAdmins(
  1. String dialogId, {
  2. Set<int>? toAddIds,
  3. Set<int>? toRemoveIds,
})

Implementation

Future<CubeDialog> addRemoveAdmins(String dialogId,
    {Set<int>? toAddIds, Set<int>? toRemoveIds}) {
  return AddRemoveAdminsQuery(dialogId,
          addedIds: toAddIds, removedIds: toRemoveIds)
      .perform();
}