package telegraml

  1. Overview
  2. Docs

This module deals with outgoing location messages

type location = {
  1. chat_id : int;
  2. latitude : float;
  3. longitude : float;
  4. disable_notification : bool;
  5. reply_to_message_id : int option;
  6. reply_markup : ReplyMarkup.reply_markup option;
}

Represents the outgoing location message

val create : chat_id:int -> latitude:float -> longitude:float -> ?disable_notification:bool -> ?reply_to:int option -> ?reply_markup:ReplyMarkup.reply_markup option -> unit -> location

Create a location in a concise manner

Prepare a location for sending

val prepare : location -> string

Prepare a location for sending

OCaml

Innovation. Community. Security.