Class InlineQueryResultVenue
Represents a location on a map. By default, the location will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the location.
Inherited Members
Namespace: TelegramBotApi.Types.Inline
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class InlineQueryResultVenue : InlineQueryResult
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 |
Id
Unique identifier for this result, 1-64 Bytes
Declaration
[JsonProperty(PropertyName = "id", Required = Required.Always)]
public override string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceInputMessageContent
Content of the message to be sent instead of the venue
Declaration
[JsonProperty(PropertyName = "input_message_content", Required = Required.Always)]
public InputMessageContent InputMessageContent { get; set; }
Property Value
Type | Description |
---|---|
InputMessageContent |
Latitude
Latitude of the venue 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 venue location in degrees
Declaration
[JsonProperty(PropertyName = "longitude", Required = Required.Always)]
public float Longitude { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
ReplyMarkup
Optional. Inline keyboard attached to the message
Declaration
[JsonProperty(PropertyName = "reply_markup")]
public InlineKeyboardMarkup ReplyMarkup { get; set; }
Property Value
Type | Description |
---|---|
InlineKeyboardMarkup |
ThumbHeight
Optional. Thumbnail height
Declaration
[JsonProperty(PropertyName = "thumb_height")]
public int ThumbHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ThumbUrl
Optional. Url of the thumbnail for the result
Declaration
[JsonProperty(PropertyName = "thumb_url", Required = Required.Always)]
public string ThumbUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ThumbWidth
Optional. Thumbnail width
Declaration
[JsonProperty(PropertyName = "thumb_width")]
public int ThumbWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Title
Location title
Declaration
[JsonProperty(PropertyName = "title", Required = Required.Always)]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Type of the result, must be venue
Declaration
[JsonProperty(PropertyName = "type", Required = Required.Always)]
public override string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |