tdweb: 1.4.0

GitOrigin-RevId: eabed817c2c058a42c5ad09e11d8a843623ca78f
This commit is contained in:
Arseny Smirnov 2019-04-30 17:50:35 +03:00
parent 85cfe21b1b
commit a0bcb75b5a
3 changed files with 12 additions and 2 deletions

View File

@ -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.

View File

@ -1,6 +1,6 @@
{
"name": "@arseny30/tdweb",
"version": "0.2.49",
"version": "1.4.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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": {