Documentation - v0.27.1
    Preparing search index...

    Interface InputInlineResultGeo

    Inline result containing a geolocation.

    If message is not passed, a InputInlineMessageGeo is used, with the latitude and longitude parameters set accordingly

    interface InputInlineResultGeo {
        id: string;
        latitude: number;
        longitude: number;
        message?: InputInlineMessage;
        thumb?: string | RawInputWebDocument;
        title: string;
        type: "geo";
    }

    Hierarchy (View Summary)

    Index

    Properties

    id: string

    Unique ID of the result

    latitude: number

    Latitude of the geolocation

    longitude: number

    Longitude of the geolocation

    Message to send when the result is selected.

    By default, is automatically generated, and details about how it is generated can be found in subclasses' description

    thumb?: string | RawInputWebDocument

    Location thumbnail URL (must be jpeg).

    By default, Telegram generates one based on the location set by latitude and longitude

    title: string

    Title of the result

    type: "geo"