Skip to content

GramIO API Reference / gramio/dist / TelegramInlineQueryResultVenue

Interface: TelegramInlineQueryResultVenue

Defined in: @gramio/types/out/objects.d.ts:6924

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.

Documentation

Properties

PropertyTypeDescriptionDefined in
addressstringAddress of the venue@gramio/types/out/objects.d.ts:6948
foursquare_id?stringOptional. Foursquare identifier of the venue if known@gramio/types/out/objects.d.ts:6952
foursquare_type?stringOptional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)@gramio/types/out/objects.d.ts:6956
google_place_id?stringOptional. Google Places identifier of the venue@gramio/types/out/objects.d.ts:6960
google_place_type?stringOptional. Google Places type of the venue. (See supported types.)@gramio/types/out/objects.d.ts:6964
idstringUnique identifier for this result, 1-64 Bytes@gramio/types/out/objects.d.ts:6932
input_message_content?TelegramInputMessageContentOptional. Content of the message to be sent instead of the venue@gramio/types/out/objects.d.ts:6974
latitudenumberLatitude of the venue location in degrees@gramio/types/out/objects.d.ts:6936
longitudenumberLongitude of the venue location in degrees@gramio/types/out/objects.d.ts:6940
reply_markup?TelegramInlineKeyboardMarkup | { toJSON: TelegramInlineKeyboardMarkup; }Optional. Inline keyboard attached to the message@gramio/types/out/objects.d.ts:6968
thumbnail_height?numberOptional. Thumbnail height@gramio/types/out/objects.d.ts:6986
thumbnail_url?stringOptional. Url of the thumbnail for the result@gramio/types/out/objects.d.ts:6978
thumbnail_width?numberOptional. Thumbnail width@gramio/types/out/objects.d.ts:6982
titlestringTitle of the venue@gramio/types/out/objects.d.ts:6944
type"venue"Type of the result, must be venue@gramio/types/out/objects.d.ts:6928