Inline mode

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

fieldtyperequireddescription
typestringrequiredType of the result, must be venue
idstringrequiredUnique identifier for this result, 1-64 Bytes
latitudenumberrequiredLatitude of the venue location in degrees
longitudenumberrequiredLongitude of the venue location in degrees
titlestringrequiredTitle of the venue
addressstringrequiredAddress of the venue
foursquare_idstringoptionalOptional. Foursquare identifier of the venue if known
foursquare_typestringoptionalOptional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
google_place_idstringoptionalOptional. Google Places identifier of the venue
google_place_typestringoptionalOptional. Google Places type of the venue. (See supported types.)
reply_markupInlineKeyboardMarkupoptionalOptional. Inline keyboard attached to the message
input_message_contentInputMessageContentoptionalOptional. Content of the message to be sent instead of the venue
thumbnail_urlstringoptionalOptional. Url of the thumbnail for the result
thumbnail_widthnumberoptionalOptional. Thumbnail width
thumbnail_heightnumberoptionalOptional. Thumbnail height

import

types.ts
import type { InlineQueryResultVenue } from "@yaebal/types";

used by

types