ExGram.Model.StoryAreaTypeLocation (ex_gram v0.65.0)

Copy Markdown View Source

Describes a story area pointing to a location. Currently, a story can have up to 10 location areas.

Check the documentation of this model on Telegram Bot API

  • type: Type of the area, always "location”
  • latitude: Location latitude in degrees
  • longitude: Location longitude in degrees
  • address (optional): Optional. Address of the location

Summary

Types

t()

@type t() :: %ExGram.Model.StoryAreaTypeLocation{
  address: ExGram.Model.LocationAddress.t() | nil,
  latitude: float(),
  longitude: float(),
  type: String.t()
}

Functions

decode_as()