Make your own Telegram client

Simple and powerful MTProto framework for JavaScript or TypeScript.

Migrate from your favorite framework

We are supported migration from several popular frameworks using their string session.

{
  session : 'BVWbaAAAofRAahZitBY8oe....'
}

Handle all messages with ease

client.cmd('start',(update) => {
  return update.message.respond('Yo Man! This message is written from tgsnake.')
})

/start

🐍

tgsnake

Yo Man! This message is written from tgsnake.

What are you waiting for? Let's Get Started!