Module

x/grammy_types/inline.ts>InlineQueryResultVenue

Type declarations of the Telegram Bot API.
Latest
interface InlineQueryResultVenue
import { type InlineQueryResultVenue } from "https://dotland.deno.dev/x/grammy_types@v3.15.0/inline.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.

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