mv .env.example .env
npm i
Obtain API ID and API hash on my.telegram.org and populate the .env
file.
npm run dev
Start your dev server and locate GramJS worker in console context.
All constructors and functions available in global GramJs
variable.
Run npm run gramjs:tl full
to get access to all available Telegram requests.
Example usage:
await invoke(new GramJs.help.GetAppConfig())
If you find an issue with this app, let Telegram know using the Suggestions Platform.