|
3 lat temu | |
---|---|---|
__tests__ | 4 lat temu | |
examples | 3 lat temu | |
gramjs | 3 lat temu | |
.bablerc | 4 lat temu | |
.gitignore | 4 lat temu | |
.npmignore | 4 lat temu | |
.prettierignore | 4 lat temu | |
.prettierrc.json | 3 lat temu | |
LICENSE | 5 lat temu | |
README.md | 3 lat temu | |
babel.config.js | 4 lat temu | |
empty.txt | 4 lat temu | |
jest.config.js | 4 lat temu | |
npmpublish.bat | 4 lat temu | |
package-lock.json | 3 lat temu | |
package.json | 3 lat temu | |
publish_npm.js | 3 lat temu | |
tsconfig.json | 3 lat temu | |
type_doc.js | 4 lat temu | |
webpack.config.js | 3 lat temu |
A Telegram client written in JavaScript for Node.js and browsers, with its core being based on Telethon.
GramJS can run on Node.js, browsers and with frameworks like React.
In browsers, GramJS will be using the localStorage
to cache the layers.
To get a browser bundle of GramJS, use the following command:
NODE_ENV=production npx webpack
Currently, you can call any raw API method like await client.invoke(new RequestClass(args))
.
You can find all methods and types at gram.js.org.
Youu can find the docs at painor.gitbook.io/gramjs visit gram.js.org to see all supported API methods and types.
If you have any question about GramJS, feel free to open a issue or join us at the Telegram group, @GramJSChat.