telegramx.js

InlineQueryResultVenue

interface

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.

Declaration

interface InlineQueryResultVenue 

Properties

addressproperty#
address: string;

Address of the venue

foursquare_id?: string;

Optional. Foursquare identifier of the venue if known

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.)

idproperty#
id: string;

Unique identifier for this result, 1-64 Bytes

input_message_content?: InputMessageContent;

Optional. Content of the message to be sent instead of the venue

latitudeproperty#
latitude: number;

Latitude of the venue location in degrees

longitudeproperty#
longitude: number;

Longitude of the venue location in degrees

reply_markup?: InlineKeyboardMarkup;

Optional. Inline keyboard attached to the message

thumbnail_height?: number;

Optional. Thumbnail height

thumbnail_url?: string;

Optional. Url of the thumbnail for the result

thumbnail_width?: number;

Optional. Thumbnail width

titleproperty#
title: string;

Title of the venue

typeproperty#
type: 'venue';

Type of the result, must be venue