typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
41 lines (40 loc) • 1.07 kB
TypeScript
/**
* ## InputVenueMessageContent
* Represents the content of a venue message to be sent as the result of an inline query.
* @see https://core.telegram.org/bots/api#inputvenuemessagecontent
*/
export type InputVenueMessageContent = {
/**
* Latitude of the venue in degrees
*/
latitude: number;
/**
* Longitude of the venue in degrees
*/
longitude: number;
/**
* Name of the venue
*/
title: string;
/**
* Address of the venue
*/
address: string;
/**
* Optional. Foursquare identifier of the venue, if known
*/
foursquare_id?: string;
/**
* Optional. Foursquare type of the venue, if known.
* (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
*/
foursquare_type?: string;
/**
* Optional. Google Places identifier of the venue
*/
google_place_id?: string;
/**
* Optional. Google Places type of the venue. (See supported types.)
*/
google_place_type?: string;
};