telegramx.js

InputMediaVenue

interface

Represents a venue to be sent.

Declaration

interface InputMediaVenue 

Properties

addressproperty#
address: string;

Address of the venue

foursquare_id?: string;

Optional. Foursquare identifier of the venue

foursquare_type?: string;

Optional. Foursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)

google_place_id?: string;

Optional. Google Places identifier of the venue

google_place_type?: string;

Optional. Google Places type of the venue. (See supported types.)

latitudeproperty#
latitude: number;

Latitude of the location

longitudeproperty#
longitude: number;

Longitude of the location

titleproperty#
title: string;

Name of the venue

typeproperty#
type: 'venue';

Type of the media, must be venue