tdweb: 1.4.0
GitOrigin-RevId: eabed817c2c058a42c5ad09e11d8a843623ca78f
This commit is contained in:
parent
85cfe21b1b
commit
a0bcb75b5a
@ -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 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.
|
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.
|
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
example/web/tdweb/package-lock.json
generated
2
example/web/tdweb/package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@arseny30/tdweb",
|
"name": "@arseny30/tdweb",
|
||||||
"version": "0.2.49",
|
"version": "1.4.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@arseny30/tdweb",
|
"name": "@arseny30/tdweb",
|
||||||
"version": "0.2.49",
|
"version": "1.4.0",
|
||||||
"description": "Javascript interface for TDLib (telegram library)",
|
"description": "Javascript interface for TDLib (telegram library)",
|
||||||
"main": "dist/tdweb.js",
|
"main": "dist/tdweb.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Loading…
Reference in New Issue
Block a user