Skema is a compiled Telegram TL Schema and Telegram errors Schema into usable JavaScript classes with full TypeScript support.
This project was originally based on the source code from @tgsnake/core. 🐍
npm install @tgsnake/skema
import { Raw } from '@tgsnake/skema';
// Example usage
const sendMessageApi = new Raw.messages.SendMessage({
// constructor parameter here
});