tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

how to update layer to 170? #2760

Closed xspeed1989 closed 8 months ago

xspeed1989 commented 9 months ago

I found the layer 169 is lower than offical app layer 170,how to update it? I can't find any document about this

levlam commented 9 months ago

TDLIb has its own API and doesn't expose any particular server-side API layer. There is no way to just update it without changing correspondingly TDLib's source code.

xspeed1989 commented 9 months ago

TDLIb has its own API and doesn't expose any particular server-side API layer. There is no way to just update it without changing correspondingly TDLib's source code.

Yes, I want to change Tdlib's source code, but I can't find doc of LAYER 170

levlam commented 9 months ago

Supporting a different server-side API scheme requires really a lot of changes.

xspeed1989 commented 9 months ago

Supporting a different server-side API scheme requires really a lot of changes.

I know, So Is there some document about this?

levlam commented 9 months ago

There is no documentation. You just need to change all code accordingly.

xspeed1989 commented 9 months ago

Where can I get the data structure in https://github.com/tdlib/td/blob/master/td/generate/scheme/telegram_api.tl?

levlam commented 9 months ago

This is scheme for server-side API. It will be available at https://core.telegram.org/scheme at some point in the future.

xspeed1989 commented 9 months ago

This is scheme for server-side API. It will be available at https://core.telegram.org/scheme at some point in the future.

OK, I need to wait the document update, Do you have plan to update LAYER to newest version?

levlam commented 9 months ago

Yes, it will be updated in the future.