modern typescript library for mtproto. supports browsers, node/bun, deno and more! github mirror: https://github.com/mtcute/mtcute
Find a file
teidesu 4f62b98b5e feat(client): getHistory and deleteMessage methods
also bound .delete() method for Message
2021-04-08 20:25:15 +03:00
packages feat(client): getHistory and deleteMessage methods 2021-04-08 20:25:15 +03:00
.editorconfig Initial commit 2021-04-08 12:19:38 +03:00
.eslintignore Initial commit 2021-04-08 12:19:38 +03:00
.eslintrc.js Initial commit 2021-04-08 12:19:38 +03:00
.gitattributes Initial commit 2021-04-08 12:19:38 +03:00
.gitignore Initial commit 2021-04-08 12:19:38 +03:00
.prettierignore Initial commit 2021-04-08 12:19:38 +03:00
.prettierrc Initial commit 2021-04-08 12:19:38 +03:00
lerna.json Initial commit 2021-04-08 12:19:38 +03:00
package.json Initial commit 2021-04-08 12:19:38 +03:00
README.md fix(readme): added backwards incompatibility notice 2021-04-08 13:12:31 +03:00
tsconfig.json Initial commit 2021-04-08 12:19:38 +03:00
yarn.lock Initial commit 2021-04-08 12:19:38 +03:00

MTCute

contributions welcome

Work-in-progress library for MTProto in TypeScript.

🎯 Roadmap (notion.so)

⚠️ Warning: While this library is WIP, storage format will change without changing format version and without migration algorithm.

If you encounter errors related to this, either reset your storage by removing the file, or fix it manually.

What currently works:

  • TCP Connection in NodeJS
  • Sending & receiving text messages
  • Uploading & downloading files
  • HTML & Markdown parse modes
  • Type-safe filter system

What is not done yet:

  • pretty much everything else

Setting up for development:

git clone https://github.com/teidesu/mtcute
cd mtcute
yarn install
npx lerna link

Acknowledgements

Some parts were based on code from these projects: