Layer 220
GeoPoint
Geo Point.
constructor
geoPoint#b2a2f663 flags:# long:double lat:double access_hash:long accuracy_radius:flags.0?int = GeoPoint;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Long | double | Longitude |
| Lat | double | Latitude |
| AccessHash | long | Access hash |
| AccuracyRadius | flags.0?int | The estimated horizontal accuracy of the location, in meters; as defined by the sender. |
Returns
GeoPointGogram Example
// Creating GeoPoint constructor obj := &tg.GeoPoint{ Long: 0.0, Lat: 0.0, AccessHash: int64(0), // Optional fields: // AccuracyRadius: 0, }