StaticGramBot API

InlineQueryResultVenue

Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.

Поля

typeString
Type of the result, must be venue
idString
Unique identifier for this result, 1-64 Bytes
Latitude of the venue location in degrees
Longitude of the venue location in degrees
titleString
Title of the venue
addressString
Address of the venue
foursquare_idStringoptional
Foursquare identifier of the venue if known
foursquare_typeStringoptional
Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
google_place_idStringoptional
Google Places identifier of the venue
google_place_typeStringoptional
Google Places type of the venue. (See supported types.)
Inline keyboard attached to the message
Content of the message to be sent instead of the venue
thumbnail_urlStringoptional
Url of the thumbnail for the result
thumbnail_widthIntegeroptional
Thumbnail width
thumbnail_heightIntegeroptional
Thumbnail height

Минимальный JSON

JSON
{
  "type": "private",
  "id": "...",
  "latitude": 0.0,
  "longitude": 0.0,
  "title": "...",
  "address": "..."
}

Где используется

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top