|
преди 3 години | |
---|---|---|
__tests__ | преди 4 години | |
examples | преди 3 години | |
gramjs | преди 3 години | |
.bablerc | преди 4 години | |
.gitignore | преди 4 години | |
.npmignore | преди 4 години | |
.prettierignore | преди 4 години | |
.prettierrc.json | преди 4 години | |
LICENSE | преди 5 години | |
README.md | преди 3 години | |
babel.config.js | преди 4 години | |
empty.txt | преди 4 години | |
jest.config.js | преди 4 години | |
npmpublish.bat | преди 4 години | |
package-lock.json | преди 3 години | |
package.json | преди 3 години | |
publish_npm.js | преди 3 години | |
tsconfig.json | преди 3 години | |
type_doc.js | преди 3 години | |
webpack.config.js | преди 3 години |
A Telegram client written in JavaScript for Node.js and browsers, with its core being based on Telethon.
API development tools
.URL
, and only the first two fields (app title and short name)
can be modified later.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=development 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.