diff --git a/packages/client/src/methods/files/normalize-input-media.ts b/packages/client/src/methods/files/normalize-input-media.ts index 7d82f73d..1bfeb2dd 100644 --- a/packages/client/src/methods/files/normalize-input-media.ts +++ b/packages/client/src/methods/files/normalize-input-media.ts @@ -73,6 +73,7 @@ export async function _normalizeInputMedia( lat: media.latitude, long: media.longitude, }, + stopped: media.stopped, heading: media.heading, period: media.period, proximityNotificationRadius: media.proximityNotificationRadius, diff --git a/packages/client/src/types/media/input-media.ts b/packages/client/src/types/media/input-media.ts index ec0276e6..575ea7de 100644 --- a/packages/client/src/types/media/input-media.ts +++ b/packages/client/src/types/media/input-media.ts @@ -264,6 +264,11 @@ export interface InputMediaGeo { export interface InputMediaGeoLive extends Omit { type: 'geo_live' + /** + * Whether sending of the geolocation has stopped + */ + stopped?: boolean + /** * Direction in which the location moves, in degrees (1-360) */