Class Location
This object represents a point on the map.
Inheritance
System.Object
Location
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TelegramBotApi.Types
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class Location
Properties
| Improve this Doc View SourceLatitude
Latitude as defined by sender
Declaration
[JsonProperty(PropertyName = "latitude", Required = Required.Always)]
public float Latitude { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Longtitude
Longitude as defined by sender
Declaration
[JsonProperty(PropertyName = "longtitude", Required = Required.Always)]
public float Longtitude { get; set; }
Property Value
Type | Description |
---|---|
System.Single |