Skip to content

Instantly share code, notes, and snippets.



  • rizon#code
View GitHub Profile
(* Import TelegraML and Lwt *)
open Lwt
open TelegraML.Api
(* Create the module for accessing the API *)
module GithubBot = Mk begin
(* Set the API token, make sure to safeguard this, as it gives
* total control of your bot. If you're going to host on Github,
* I suggest creating a file for the token, adding it to your
* .gitignore, and importing it at compile-time with ppx_blob *)

Keybase proof

I hereby claim:

  • I am nv-vn on github.
  • I am nvvn ( on keybase.
  • I have a public key whose fingerprint is 9A1B F279 1222 01E8 DA3F CA00 B6B2 BD48 CF07 D792

To claim this, I am signing this object: