feat(client): stop geolive messages
This commit is contained in:
parent
b845864663
commit
0c9dfa172d
2 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -264,6 +264,11 @@ export interface InputMediaGeo {
|
|||
export interface InputMediaGeoLive extends Omit<InputMediaGeo, 'type'> {
|
||||
type: 'geo_live'
|
||||
|
||||
/**
|
||||
* Whether sending of the geolocation has stopped
|
||||
*/
|
||||
stopped?: boolean
|
||||
|
||||
/**
|
||||
* Direction in which the location moves, in degrees (1-360)
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue