Class InputVenueMessageContent
Represents the content of a venue message to be sent as the result of an inline query.
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.Inline
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class InputVenueMessageContent : InputMessageContent
Properties
| Improve this Doc View SourceAddress
Address of the venue
Declaration
[JsonProperty(PropertyName = "address", Required = Required.Always)]
public string Address { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FoursquareId
Optional. Foursquare identifier of the venue, if known
Declaration
[JsonProperty(PropertyName = "foursquare_id")]
public string FoursquareId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FoursquareType
Optional. Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
Declaration
[JsonProperty(PropertyName = "foursquare_type")]
public string FoursquareType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Latitude
Latitude of the location in degrees
Declaration
[JsonProperty(PropertyName = "latitude", Required = Required.Always)]
public float Latitude { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Longitude
Longitude of the location in degrees
Declaration
[JsonProperty(PropertyName = "longitude", Required = Required.Always)]
public float Longitude { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Title
Name of the venue
Declaration
[JsonProperty(PropertyName = "title", Required = Required.Always)]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |