telegramsjs
    Preparing search index...

    Interface 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.

    Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.

    interface InlineQueryResultVenue {
        address: string;
        foursquare_id?: string;
        foursquare_type?: string;
        google_place_id?: string;
        google_place_type?: string;
        id: string;
        input_message_content?: InputMessageContent;
        latitude: number;
        longitude: number;
        reply_markup?: InlineKeyboardMarkup;
        thumbnail_height?: number;
        thumbnail_url?: string;
        thumbnail_width?: number;
        title: string;
        type: "venue";
    }
    Index

    Properties

    address: string

    Address of the venue

    foursquare_id?: string

    Foursquare identifier of the venue if known

    foursquare_type?: string

    Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)

    google_place_id?: string

    Google Places identifier of the venue

    google_place_type?: string

    Google Places type of the venue. (See supported types.)

    id: string

    Unique identifier for this result, 1-64 Bytes

    input_message_content?: InputMessageContent

    Content of the message to be sent instead of the venue

    latitude: number

    Latitude of the venue location in degrees

    longitude: number

    Longitude of the venue location in degrees

    reply_markup?: InlineKeyboardMarkup

    Inline keyboard attached to the message

    thumbnail_height?: number

    Thumbnail height

    thumbnail_url?: string

    Url of the thumbnail for the result

    thumbnail_width?: number

    Thumbnail width

    title: string

    Title of the venue

    type: "venue"

    Type of the result, must be venue