Skip to content

Commit

Permalink
tdweb: 1.4.0
Browse files Browse the repository at this point in the history
GitOrigin-RevId: eabed817c2c058a42c5ad09e11d8a843623ca78f
  • Loading branch information
arseny30 committed Apr 30, 2019
1 parent 85cfe21 commit a0bcb75
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions example/web/tdweb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,13 @@ which shouldn't be used in the JSON interface. The object type name is stored in
Fields of Bool type are stored as Boolean, fields of int32, int53 and double types are stored as Number, fields of int64 and string types are stored as String,
fields of bytes type are base64 encoded and then stored as String, fields of vector type are stored as Array.
You can also add the field '@extra' to any query to TDLib and the response will contain the field '@extra' with exactly the same value.

## Installation
As usual, add npm '@arseny30/tdweb' package into you project:
```
npm install @arseny30/tdweb
```

All files will be installed into `node_modules/@arseny30/tdweb/dist/` folder. For now it is your responsibility to make
those files loadable from your server. For example, [telegram-react](https://github.com/evgeny-nadymov/telegram-react)
manually copies this files into the `public` folder. If you know how to avoid this problem, please tell us.
2 changes: 1 addition & 1 deletion example/web/tdweb/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/web/tdweb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arseny30/tdweb",
"version": "0.2.49",
"version": "1.4.0",
"description": "Javascript interface for TDLib (telegram library)",
"main": "dist/tdweb.js",
"repository": {
Expand Down

0 comments on commit a0bcb75

Please sign in to comment.