api.editInlineMessageLiveLocation()
Edits the content of a live location in an inline message sent via a bot; for bots only
Parameters
EditInlineMessageLiveLocationParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
inlineMessageId | string | Inline message identifier |
replyMarkup | The new message reply markup; pass null if none | |
location | New location content of the message; pass null to stop sharing the live location | |
heading | number | The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown |
proximityAlertRadius | number | The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'editInlineMessageLiveLocation' | 'error'
airgram: Airgram
request: {
method: 'editInlineMessageLiveLocation'
params: EditInlineMessageLiveLocationParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}