getNotifyExceptions method

Future<Result<UpdatesBase>> getNotifyExceptions({
  1. required bool compareSound,
  2. required bool compareStories,
  3. InputNotifyPeerBase? peer,
})

Get Notify Exceptions.

ID: 53577479.

Implementation

Future<Result<UpdatesBase>> getNotifyExceptions({
  required bool compareSound,
  required bool compareStories,
  InputNotifyPeerBase? peer,
}) async {
  // Preparing the request.
  final request = AccountGetNotifyExceptions(
    compareSound: compareSound,
    compareStories: compareStories,
    peer: peer,
  );

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<UpdatesBase>();
}