Current section
Files
Jump to
Current section
Files
lib/models/location.ex
defmodule ExMicrosoftBot.Models.Location do
@moduledoc """
Microsoft bot location structure
"""
@derive [Poison.Encoder]
defstruct [:altitude, :latitude, :longitude, :name]
@type t :: %ExMicrosoftBot.Models.Location {
altitude: integer, latitude: integer, longitude: integer, name: String.t
}
@doc false
def decoding_map do
%ExMicrosoftBot.Models.Location{}
end
end