Module TelegramApi.Location

module Location: sig .. end

type location = {
   longitude : float;
   latitude : float;
}
Represents a location sent by a user in terms of longitude/latitude coordinates
val create : longitude:float -> latitude:float -> unit -> location
Create a location in a concise manner

Read a location out of some JSON

val read : Yojson.Safe.json -> location
module Out: sig .. end
This module deals with outgoing location messages