GramIO API Reference / gramio/dist / TelegramInlineQueryResultVenue
Interface: TelegramInlineQueryResultVenue
Defined in: @gramio/types/out/objects.d.ts:7124
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
| Property | Type | Description | Defined in |
|---|---|---|---|
address | string | Address of the venue | @gramio/types/out/objects.d.ts:7148 |
foursquare_id? | string | Optional. Foursquare identifier of the venue if known | @gramio/types/out/objects.d.ts:7152 |
foursquare_type? | string | Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.) | @gramio/types/out/objects.d.ts:7156 |
google_place_id? | string | Optional. Google Places identifier of the venue | @gramio/types/out/objects.d.ts:7160 |
google_place_type? | string | Optional. Google Places type of the venue. (See supported types.) | @gramio/types/out/objects.d.ts:7164 |
id | string | Unique identifier for this result, 1-64 Bytes | @gramio/types/out/objects.d.ts:7132 |
input_message_content? | TelegramInputMessageContent | Optional. Content of the message to be sent instead of the venue | @gramio/types/out/objects.d.ts:7174 |
latitude | number | Latitude of the venue location in degrees | @gramio/types/out/objects.d.ts:7136 |
longitude | number | Longitude of the venue location in degrees | @gramio/types/out/objects.d.ts:7140 |
reply_markup? | TelegramInlineKeyboardMarkup | { toJSON: TelegramInlineKeyboardMarkup; } | Optional. Inline keyboard attached to the message | @gramio/types/out/objects.d.ts:7168 |
thumbnail_height? | number | Optional. Thumbnail height | @gramio/types/out/objects.d.ts:7186 |
thumbnail_url? | string | Optional. Url of the thumbnail for the result | @gramio/types/out/objects.d.ts:7178 |
thumbnail_width? | number | Optional. Thumbnail width | @gramio/types/out/objects.d.ts:7182 |
title | string | Title of the venue | @gramio/types/out/objects.d.ts:7144 |
type | "venue" | Type of the result, must be venue | @gramio/types/out/objects.d.ts:7128 |