Telegex.edit_message_live_location

You're seeing just the function edit_message_live_location, go back to Telegex module for more information.
Link to this function

edit_message_live_location(latitude, longitude, optionals \\ [])

View Source

Specs

edit_message_live_location(float(), float(),
  chat_id: integer() | String.t(),
  message_id: integer(),
  inline_message_id: String.t(),
  horizontal_accuracy: float(),
  heading: integer(),
  proximity_alert_radius: integer(),
  reply_markup: Telegex.Model.InlineKeyboardMarkup.t()
) ::
  {:ok, Telegex.Model.Message.t() | boolean()}
  | {:error, Telegex.Model.errors()}

Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message was sent by the bot, the edited Telegex.Model.Message is returned, otherwise True is returned.