Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
interface InlineQueryResultVenue
import { type InlineQueryResultVenue } from "https://deno.land/x/grammy@v1.15.3/types.deno.ts";

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.

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

Properties

type: "venue"

Type of the result, must be venue

id: string

Unique identifier for this result, 1-64 Bytes

latitude: number

Latitude of the venue location in degrees

longitude: number

Longitude of the venue location in degrees

title: string

Title of the venue

address: string

Address of the venue

optional
foursquare_id: string

Foursquare identifier of the venue if known

optional
foursquare_type: string

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

optional
google_place_id: string

Google Places identifier of the venue

optional
google_place_type: string

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

optional
reply_markup: InlineKeyboardMarkup

Inline keyboard attached to the message

optional
input_message_content: InputMessageContent

Content of the message to be sent instead of the venue

optional
thumbnail_url: string

Url of the thumbnail for the result

optional
thumbnail_width: number

Thumbnail width

optional
thumbnail_height: number

Thumbnail height