InlineQueryResultVenue
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.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the result, must be venue |
id | string | required | Unique identifier for this result, 1-64 Bytes |
latitude | number | required | Latitude of the venue location in degrees |
longitude | number | required | Longitude of the venue location in degrees |
title | string | required | Title of the venue |
address | string | required | Address of the venue |
foursquare_id | string | optional | Optional. Foursquare identifier of the venue if known |
foursquare_type | string | optional | Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.) |
google_place_id | string | optional | Optional. Google Places identifier of the venue |
google_place_type | string | optional | Optional. Google Places type of the venue. (See supported types.) |
reply_markup | InlineKeyboardMarkup | optional | Optional. Inline keyboard attached to the message |
input_message_content | InputMessageContent | optional | Optional. Content of the message to be sent instead of the venue |
thumbnail_url | string | optional | Optional. Url of the thumbnail for the result |
thumbnail_width | number | optional | Optional. Thumbnail width |
thumbnail_height | number | optional | Optional. Thumbnail height |
import
import type { InlineQueryResultVenue } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#inlinequeryresultvenue