InputMediaGeoLive
- class pyrogram.raw.types.InputMediaGeoLive
Live geolocation
Constructor of
InputMedia.- Details:
Layer:
223ID:
971FA843
- Parameters:
geo_point (
InputGeoPoint) – Current geolocationstopped (
bool, optional) – Whether sending of the geolocation was stoppedheading (
int32-bit, optional) – For live locations, a direction in which the location moves, in degrees; 1-360.period (
int32-bit, optional) – Validity period of the current locationproximity_notification_radius (
int32-bit, optional) – For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000)
TL Schema
inputMediaGeoLive#971fa843
flags:#
stopped:flags.0?true
geo_point:InputGeoPoint
heading:flags.2?int
period:flags.1?int
proximity_notification_radius:flags.3?int
= InputMedia
Parameter Tree
InputMediaGeoLive
├── stopped →
true (optional)├── geo_point →
InputGeoPoint│ ├──
InputGeoPointEmpty│ └──
InputGeoPoint│ ├── lat →
double│ ├── long →
double│ └── accuracy_radius →
int (optional)├── heading →
int (optional)├── period →
int (optional)└── proximity_notification_radius →
int (optional)Example
InputMediaGeoLive(
geo_point=InputGeoPointEmpty(),
)