hideAllChatJoinRequests method
Future<Result<UpdatesBase> >
hideAllChatJoinRequests({
- required bool approved,
- required InputPeerBase peer,
- String? link,
Hide All Chat Join Requests.
ID: e085f4ea
.
Implementation
Future<Result<UpdatesBase>> hideAllChatJoinRequests({
required bool approved,
required InputPeerBase peer,
String? link,
}) async {
// Preparing the request.
final request = MessagesHideAllChatJoinRequests(
approved: approved,
peer: peer,
link: link,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}