Go to file
2021-08-03 19:03:05 +03:00
.github/workflows Initial commit 2021-04-09 14:11:51 +03:00
deploy Audio: Fix playing voice messages on iOS (follow-up) 2021-06-30 05:24:58 +03:00
dev/localize [Build] 2021-06-18 01:00:02 +03:00
dist [Build] 2021-08-03 02:07:27 +03:00
public Notifications: Update gcm_sender_id 2021-06-28 18:20:29 +03:00
src [Refactoring] Transition: Get rid of redundant scroll-slide animation 2021-08-03 19:03:05 +03:00
.babelrc Initial commit 2021-04-09 14:11:51 +03:00
.browserslistrc Initial commit 2021-04-09 14:11:51 +03:00
.editorconfig Initial commit 2021-04-09 14:11:51 +03:00
.env.example Initial commit 2021-04-09 14:11:51 +03:00
.eslintrc Initial commit 2021-04-09 14:11:51 +03:00
.gitattributes Initial commit 2021-04-09 14:11:51 +03:00
.gitignore Drop redundant tests 2021-05-24 02:09:39 +03:00
.patch-version [Build] 2021-08-03 02:07:27 +03:00
.postcssrc Initial commit 2021-04-09 14:11:51 +03:00
CHANGELOG.md 1.3.0 2021-06-21 16:40:05 +03:00
jest.config.js Initial commit 2021-04-09 14:11:51 +03:00
LICENSE Add license file 2021-04-16 18:32:30 +03:00
package-lock.json [Dev] Update webpack-cli to v4 (#1347) 2021-08-03 01:31:12 +03:00
package.json [Dev] Properly use webpack dev mode 2021-08-03 19:02:56 +03:00
README.md [Dev] Allow invoking Telegram API from console (#1346) 2021-08-03 01:31:05 +03:00
tsconfig.json Initial commit 2021-04-09 14:11:51 +03:00
webpack.config.js [Tests] Fixes after sessions rework 2021-06-24 18:42:16 +03:00

Telegram Web Z

Local setup

mv .env.example .env

npm i

Obtain API ID and API hash on my.telegram.org and populate the .env file.

Dev mode

npm run dev

Invoking API from console

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())

Bug reports and Suggestions

If you find an issue with this app, let Telegram know using the Suggestions Platform.