Airgram

Guides
/
/
Methods

api.editInlineMessageLiveLocation()

Edits the content of a live location in an inline message sent via a bot; for bots only

Parameters EditInlineMessageLiveLocationParams:

NameTypeDescription
inlineMessageIdstring 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
headingnumber The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown
proximityAlertRadiusnumber 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>
}