ExGram.Model.InputMediaLocation (ex_gram v0.66.0)

Copy Markdown View Source

Represents a location to be sent.

Check the documentation of this model on Telegram Bot API

  • type: Type of the result, must be location
  • latitude: Latitude of the location
  • longitude: Longitude of the location
  • horizontal_accuracy (optional): Optional. The radius of uncertainty for the location, measured in meters; 0-1500

Summary

Types

t()

@type t() :: %ExGram.Model.InputMediaLocation{
  horizontal_accuracy: float() | nil,
  latitude: float(),
  longitude: float(),
  type: String.t()
}

Functions

decode_as()