Telegex.stop_message_live_location

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

stop_message_live_location(optionals \\ [])

View Source

Specs

stop_message_live_location(
  chat_id: integer() | String.t(),
  message_id: integer(),
  inline_message_id: String.t(),
  reply_markup: Telegex.Model.InlineKeyboardMarkup.t()
) ::
  {:ok, Telegex.Model.Message.t() | boolean()}
  | {:error, Telegex.Model.errors()}

Use this method to stop updating a live location message before live_period expires. On success, if the message was sent by the bot, the sent Telegex.Model.Message is returned, otherwise True is returned.