InputMediaLocation
Represents a location to be sent.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the media, must be location |
latitude | number | required | Latitude of the location |
longitude | number | required | Longitude of the location |
horizontal_accuracy | number | optional | Optional. The radius of uncertainty for the location, measured in meters; 0-1500 |
import
import type { InputMediaLocation } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#inputmedialocation