package telegraml
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=b07ec61353d3a245f81c4c510a41b58b75c5ea17f0b1bf3df22b1c3601bd45c4
    
    
  md5=2fdd7c68eec4b7b904d9c4e536395a70
    
    
  doc/telegraml/TelegramApi/InputMessageContent/index.html
Module TelegramApi.InputMessageContentSource
This module is used to deal with the content being sent as the result of an inline query
type text = {- message_text : string;
- parse_mode : ParseMode.parse_mode option;
- disable_web_page_preview : bool;
}Represents the content of a text message to be sent as the result of an inline query
Represents the content of a location message to be sent as the result of an inline query
Represents the content of a location message to be sent as the result of an inline query
Represents the content of a venue message to be sent as the result of an inline query
Represents the content of a venue message to be sent as the result of an inline query
Represents the content of a contact message to be sent as the result of an inline query
Represents the content of a contact message to be sent as the result of an inline query
Represents the content of a message to be sent as the result of an inline query
Represents the content of a message to be sent as the result of an inline query
val create_text : 
  message_text:string ->
  ?parse_mode:ParseMode.parse_mode ->
  ?disable_web_page_preview:bool ->
  unit ->
  input_message_contentCreate a Text : input_message_content in a concise manner
Create a Location : input_message_content in a concise manner
Create a Location : input_message_content in a concise manner
Create a Venue : input_message_content in a concise manner
val create_venue : 
  latitude:float ->
  longitude:float ->
  title:string ->
  address:string ->
  ?foursquare_id:string ->
  unit ->
  input_message_contentCreate a Venue : input_message_content in a concise manner
Create a Contact : input_message_content in a concise manner
val create_contact : 
  phone_number:string ->
  first_name:string ->
  ?last_name:string ->
  unit ->
  input_message_contentCreate a Contact : input_message_content in a concise manner
Prepare input_message_content for sending by converting it to JSON