StaticGramBot API

InputMediaVenue

Represents a venue to be sent.

Поля

typeString
Type of the media, must be venue
Latitude of the location
Longitude of the location
titleString
Name of the venue
addressString
Address of the venue
foursquare_idStringoptional
Foursquare identifier of the venue
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.)

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

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

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

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