getLocated method
Future<Result<UpdatesBase> >
getLocated({
- required bool background,
- required InputGeoPointBase geoPoint,
- int? selfExpires,
Get Located.
ID: d348bc44
.
Implementation
Future<Result<UpdatesBase>> getLocated({
required bool background,
required InputGeoPointBase geoPoint,
int? selfExpires,
}) async {
// Preparing the request.
final request = ContactsGetLocated(
background: background,
geoPoint: geoPoint,
selfExpires: selfExpires,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}