title: Telegram Client in C
body: <p>I am in the process of investigating a Telegram client in C so that I can write a client for the Pebble smartwatch/s. I understand the Pebble side, and all of the Telegram methods <a href="http://core.telegram.org/methods" rel="noreferrer" title="shown here">shown here</a>, but I have absolutely no clue how to send those in C.</p>
  
  <p>I figure it has something to do with a "TL Language" and the MTProto service, but I think this stuff is beyond my current understanding. I also found this collection of code but again, no clue how to use it <a href="https://github.com/vysheng/tgl/" rel="noreferrer">https://github.com/vysheng/tgl/</a>.</p>
  
  <p>EDIT 1:</p>
  
  <p>A C-based app with a PebbleKitJS section running on the phone seems like the best route for this. Any help on implementing MTProto with JS?</p>