mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-11 16:49:44 +01:00
.github/workflows | ||
.husky | ||
deploy | ||
dev/localize | ||
dist | ||
public | ||
src | ||
.babelrc | ||
.browserslistrc | ||
.editorconfig | ||
.env.example | ||
.eslintignore | ||
.eslintrc | ||
.gitattributes | ||
.gitignore | ||
.patch-version | ||
.postcssrc | ||
CHANGELOG.md | ||
jest.config.js | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
webpack.config.js |
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.