toggleAllPeerLinkRequestApproval method
Future<Result<Boolean> >
toggleAllPeerLinkRequestApproval({
- required bool reject,
- required InputChannelBase community,
Toggle All Peer Link Request Approval.
ID: bfe3dd3d.
Implementation
Future<Result<Boolean>> toggleAllPeerLinkRequestApproval({
required bool reject,
required InputChannelBase community,
}) async {
// Preparing the request.
final request = CommunitiesToggleAllPeerLinkRequestApproval(
reject: reject,
community: community,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}