Link Search Menu Expand Document

Constructor: geoPoint

Back to constructors index

GeoPoint.

Attributes:

NameTypeRequiredDescription
longdoubleYesLongitude
latdoubleYesLatitude
access_hashlongYesAccess hash
accuracy_radiusintOptionalThe estimated horizontal accuracy of the location, in meters; as defined by the sender.

Type: GeoPoint

Example:

$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, 'access_hash' => long, 'accuracy_radius' => int];