API Development tools.
Create new applicationwindow will appear. Fill in your application details. There is no need to enter any
URL, and only the first two fields (
Short name) can be changed later as long as I'm aware.
Create applicationat the end. Now that you have the
If you want to run in it in a browser just use webpack (a configuration file is already present).
The output will be in
In the browser gramjs will use localstorage to not regenerate api methods each run.
examples folder for more info.
To generate session string , simply run
npx tgsession and provide required details
Currently you can use any raw api function using
await client.invoke(new RequestClass(args)) .
you can find all the requests and types at https://gram.js.org/
If you have any question about how to use the library feel free to open a github issue or join us at the telegram group @GramJSChat
Generated using TypeDoc