telegramx.js

InputMediaLocation

interface

Represents a location to be sent.

Declaration

interface InputMediaLocation 

Properties

horizontal_accuracy?: number;

Optional. The radius of uncertainty for the location, measured in meters; 0-1500

latitudeproperty#
latitude: number;

Latitude of the location

longitudeproperty#
longitude: number;

Longitude of the location

typeproperty#
type: 'location';

Type of the media, must be location