getNotifySettings method
Get Notify Settings.
ID: 12b3ad31
.
Implementation
Future<Result<PeerNotifySettingsBase>> getNotifySettings({
required InputNotifyPeerBase peer,
}) async {
// Preparing the request.
final request = AccountGetNotifySettings(
peer: peer,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<PeerNotifySettingsBase>();
}