Interface InlineQueryResultVenue

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

Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.

interface InlineQueryResultVenue {
    address: string;
    foursquareId?: string;
    foursquareType?: string;
    googlePlaceId?: string;
    googlePlaceType?: string;
    id: string;
    inputMessageContent?: InputMessageContent;
    latitude: number;
    longitude: number;
    replyMarkup?: InlineKeyboardMarkup;
    thumbnailHeight?: number;
    thumbnailUrl?: string;
    thumbnailWidth?: number;
    title: string;
    type: "venue";
}

Properties

address: string

Address of the venue

foursquareId?: string

Foursquare identifier of the venue if known

foursquareType?: string

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

googlePlaceId?: string

Google Places identifier of the venue

googlePlaceType?: string

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

id: string

Unique identifier for this result, 1-64 Bytes

inputMessageContent?: InputMessageContent

Content of the message to be sent instead of the venue

latitude: number

Latitude of the venue location in degrees

longitude: number

Longitude of the venue location in degrees

replyMarkup?: InlineKeyboardMarkup

Inline keyboard attached to the message

thumbnailHeight?: number

Thumbnail height

thumbnailUrl?: string

Url of the thumbnail for the result

thumbnailWidth?: number

Thumbnail width

title: string

Title of the venue

type: "venue"

Type of the result, must be venue