Show / Hide Table of Contents

Class InputVenueMessageContent

Represents the content of a venue message to be sent as the result of an inline query.

Inheritance
System.Object
InputMessageContent
InputVenueMessageContent
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 Source

Address

Address of the venue

Declaration
[JsonProperty(PropertyName = "address", Required = Required.Always)]
public string Address { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

Title

Name of the venue

Declaration
[JsonProperty(PropertyName = "title", Required = Required.Always)]
public string Title { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Generated by DocFX