package telegraml

  1. Overview
  2. Docs
Telegram Bot API for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v2.2.0.tar.gz
sha256=b07ec61353d3a245f81c4c510a41b58b75c5ea17f0b1bf3df22b1c3601bd45c4
md5=2fdd7c68eec4b7b904d9c4e536395a70

doc/telegraml/TelegramApi/index.html

Module TelegramApiSource

Specifies the API used for creating Telegram bots, defined here.

Sourceexception ApiException of string

An exception thrown if some rules specified in the API are invalidated by incorrectly formatted data of some type

Sourcemodule ParseMode : sig ... end

This module deals with the parse mode used for formatting certain messages according to markup languages

Sourcemodule User : sig ... end
Sourcemodule Chat : sig ... end

Used to represent private messages, groupchats, and other types of Telegram chats

Sourcemodule InputFile : sig ... end

Used for handling, loading, and sending outgoing files in messages

Sourcemodule MessageEntity : sig ... end

Used to represent formatting options for a message's text

Sourcemodule KeyboardButton : sig ... end

Used to represent an individual button on a custom keyboard

Sourcemodule InlineKeyboardButton : sig ... end

Used to represent an individual button on a custom inline keyboard

Sourcemodule ReplyMarkup : sig ... end

Markup options for users to reply to sent messages

Sourcemodule PhotoSize : sig ... end

This module is used for all images sent in chats

Sourcemodule Audio : sig ... end
Sourcemodule Document : sig ... end
Sourcemodule Sticker : sig ... end
Sourcemodule Video : sig ... end
Sourcemodule Voice : sig ... end
Sourcemodule Contact : sig ... end
Sourcemodule Location : sig ... end
Sourcemodule Venue : sig ... end
Sourcemodule UserProfilePhotos : sig ... end
Sourcemodule Message : sig ... end
Sourcemodule File : sig ... end

This module is used for downloadable files uploaded to the Telegram servers

Sourcemodule CallbackQuery : sig ... end

This module is used for dealing with the results returned by clicking on callback buttons on inline keyboards

Sourcemodule ChatMember : sig ... end

This module is used to deal with information about an individual member of a chat

Sourcemodule InputMessageContent : sig ... end

This module is used to deal with the content being sent as the result of an inline query

Sourcemodule InlineQuery : sig ... end

This module is used for InlineQuery bots

Sourcemodule ChatAction : sig ... end

Actions that can be sent as user statuses

Sourcemodule Update : sig ... end
Sourcemodule Result : sig ... end

Used for representing results of various actions where a success or failure can occur. Contains helper functions to implement a monadic and functorial interface.

Sourcemodule Command : sig ... end
Sourcemodule type BOT = sig ... end

BOT is strictly used for customization of a TELEGRAM_BOT module. Once your customizations have been applied, pass it into Api.Mk to create the usable TELEGRAM_BOT interface.

Sourcemodule type TELEGRAM_BOT = sig ... end

TELEGRAM_BOT represents the interface to a running bot

Sourcemodule Mk (B : BOT) : TELEGRAM_BOT

Generate a bot's interface to allow for direct calls to functions

OCaml

Innovation. Community. Security.