Open VityaSchel opened 1 year ago
@alik0211
Dirty fix with changing layer value in src/rpc/index.js:592 doesn't work 😢
Not found predicate with id: 589653676
Not found predicate with id: 3299998783
Not found predicate with id: 0
Not found predicate with id: 2822439974
Not found predicate with id: 63
Not found predicate with id: 0
Not found predicate with id: 2548612798
Not found predicate with id: 2198575844
Not found predicate with id: 1717920775
Not found predicate with id: 1953264993
Not found predicate with id: 1717920775
Not found predicate with id: 1953264993
Not found predicate with id: 2198575844
Not found predicate with id: 1717920775
Not found predicate with id: 1953264993
Not found predicate with id: 1717920775
Not found predicate with id: 1953264993
Not found predicate with id: 0
Not found predicate with id: 1570352622
Not found predicate with id: 33555575
Not found predicate with id: 1619091339
Not found predicate with id: 0
Not found predicate with id: 3957391415
Not found predicate with id: 3777088770
Not found predicate with id: 3500003342
Not found predicate with id: 3501904056
Not found predicate with id: 3501969598
Not found predicate with id: 12177584
Not found predicate with id: 3500331026
Not found predicate with id: 3498103221
Not found predicate with id: 3498693045
Not found predicate with id: 3502100661
Not found predicate with id: 12505274
Not found predicate with id: 909719307
Not found predicate with id: 959984949
Not found predicate with id: 926036793
I also urgently need this update
@alik0211
@alik0211 are u alive or dead? why not respond??
So hello guys who came here, you're the top 0.1% of coders
I got the solution for that problem you can manually produce. How to update @mtproto-core library to last Telegram api version (called Layer with any number)
@mtproto/core/scheme
@mtproto/core/scheme/
named api.json
and mtproto.json
api.json
with data from latest Telegram API JSON Schema (https://core.telegram.org/schema/json)mtproto.json
with data from latest MTProto JSON Schema (https://core.telegram.org/schema/mtproto-json)@mtproto/core/scripts
from original repository to your node_modules
npm run generate-builder
and npm run generate-parser
to update protocol builder and parser with latest telegram schemesconst serializer = new Serializer(builderMap.invokeWithLayer, {
layer: 170, < ---- That number
...
After that problem was solved
So hello guys who came here, you're the top 0.1% of coders
I got the solution for that problem you can manually produce. How to update @mtproto-core library to last Telegram api version (called Layer with any number)
- Create folder
@mtproto/core/scheme
- Create files at
@mtproto/core/scheme/
namedapi.json
andmtproto.json
- Fill the file
api.json
with data from latest Telegram API JSON Schema (https://core.telegram.org/schema/json)- Fill the file
mtproto.json
with data from latest MTProto JSON Schema (https://core.telegram.org/schema/mtproto-json)- Copy folder
@mtproto/core/scripts
from original repository to yournode_modules
- Run scripts
npm run generate-builder
andnpm run generate-parser
to update protocol builder and parser with latest telegram schemes- ???
- Do the dirty fix near src/rpc/index.js:590 as @VityaSchel. Our goal is to change the layer number of Serializer.
const serializer = new Serializer(builderMap.invokeWithLayer, { layer: 170, < ---- That number ...
After that problem was solved
or use gramjs:)
So hello guys who came here, you're the top 0.1% of coders I got the solution for that problem you can manually produce. How to update @mtproto-core library to last Telegram api version (called Layer with any number)
- Create folder
@mtproto/core/scheme
- Create files at
@mtproto/core/scheme/
namedapi.json
andmtproto.json
- Fill the file
api.json
with data from latest Telegram API JSON Schema (https://core.telegram.org/schema/json)- Fill the file
mtproto.json
with data from latest MTProto JSON Schema (https://core.telegram.org/schema/mtproto-json)- Copy folder
@mtproto/core/scripts
from original repository to yournode_modules
- Run scripts
npm run generate-builder
andnpm run generate-parser
to update protocol builder and parser with latest telegram schemes- ???
- Do the dirty fix near src/rpc/index.js:590 as @VityaSchel. Our goal is to change the layer number of Serializer.
const serializer = new Serializer(builderMap.invokeWithLayer, { layer: 170, < ---- That number ...
After that problem was solved
or use gramjs:)
I'll try it some later
Let me list missing features: