Telegex.send_location

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

send_location(chat_id, latitude, longitude, optionals \\ [])

View Source

Specs

send_location(integer() | String.t(), float(), float(),
  horizontal_accuracy: float(),
  live_period: integer(),
  heading: integer(),
  proximity_alert_radius: integer(),
  disable_notification: boolean(),
  reply_to_message_id: integer(),
  allow_sending_without_reply: boolean(),
  reply_markup:
    Telegex.Model.InlineKeyboardMarkup.t()
    | Telegex.Model.ReplyKeyboardMarkup.t()
    | Telegex.Model.ReplyKeyboardRemove.t()
    | Telegex.Model.ForceReply.t()
) :: {:ok, Telegex.Model.Message.t()} | {:error, Telegex.Model.errors()}

Use this method to send point on the map. On success, the sent Telegex.Model.Message is returned.