Module Api

module Api: sig .. end
Specifies the API used for creating Telegram bots, defined at https://core.telegram.org/bots/api


Specifies the API used for creating Telegram bots, defined at https://core.telegram.org/bots/api
exception ApiException of string
An exception thrown if some rules specified in the API are invalidated by incorrectly formatted data of some type
module User: sig .. end
module Chat: sig .. end
Used to represent private messages, groupchats, and other types of Telegram chats
module InputFile: sig .. end
Used for handling, loading, and sending outgoing files in messages
module PhotoSize: sig .. end
This module is used for all images sent in chats
module Audio: sig .. end
module Document: sig .. end
module Sticker: sig .. end
module Video: sig .. end
module Voice: sig .. end
module Contact: sig .. end
module Location: sig .. end
module Message: sig .. end
module Update: sig .. end
module Result: sig .. end
Used for representing results of various actions where a success or failure can occur.
module Command: sig .. end
module type BOT = sig .. end
BOT is strictly used for customization of a TELEGRAM_BOT module.
module type TELEGRAM_BOT = sig .. end
TELEGRAM_BOT represents the interface to a running bot
module Mk: 
functor (B : BOT) -> TELEGRAM_BOT
Generate a bot's interface to allow for direct calls to functions