Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tdweb api status #3099

Open
1343322562 opened this issue Oct 24, 2024 · 12 comments
Open

tdweb api status #3099

1343322562 opened this issue Oct 24, 2024 · 12 comments

Comments

@1343322562
Copy link

1343322562 commented Oct 24, 2024

TDweb used 'send' API, the promise status has always been in 'pending', I hope to return a status of fulfilled or reject, but nothing.
I used VPN to connect to the Telegram on WEB, but i can't used the TDweb
e468f888613b074a32376f0065c769a

@levlam
Copy link
Contributor

levlam commented Oct 24, 2024

You can enable TDLib logs using options.logVerbosityLevel=4 to see, what exactly happens with the request. Likely, it can't reach Telegram servers.

@1343322562
Copy link
Author

You can enable TDLib logs using options.logVerbosityLevel=4 to see, what exactly happens with the request. Likely, it can't reach Telegram servers.

I think so, but i don't know how to do it, Cause i have connected VPN in Hong Kong, maybe i need to switch VPN address. appreciate you

@levlam
Copy link
Contributor

levlam commented Oct 24, 2024

What app do you use?

@1343322562
Copy link
Author

What app do you use?

Are you referring to VPN app? or programming language?
i use to tdweb in javascript. The VPN app is Clash

@tdlib tdlib deleted a comment from Scutua Oct 24, 2024
@levlam
Copy link
Contributor

levlam commented Oct 24, 2024

tdweb has no user interface and you shown a complete log in interface on the screenshot.

@1343322562
Copy link
Author

yes. It comes from 'https://github.com/evgeny-nadymov/telegram-react.git', an example of tdweb

@levlam
Copy link
Contributor

levlam commented Oct 24, 2024

Then, you can add the parameter verbosity=4 to the URL, but telegram-react uses a very old TDLib version and will not be able to log in anyway now.

@1343322562
Copy link
Author

1343322562 commented Oct 24, 2024

Then, you can add the parameter verbosity=4 to the URL, but telegram-react uses a very old TDLib version and will not be able to log in anyway now.

The highest version of tdweb is 1.8.0.
tdlib is integrated into tdweb.
How should i up it, or tdweb is unvailable

@1343322562
Copy link
Author

1343322562 commented Oct 24, 2024

Then, you can add the parameter verbosity=4 to the URL, but telegram-react uses a very old TDLib version and will not be able to log in anyway now.

I saw tdweb was last submitted 3 years ago. it's unvailable ?

@1343322562
Copy link
Author

Then, you can add the parameter verbosity=4 to the URL, but telegram-react uses a very old TDLib version and will not be able to log in anyway now.

How to package tdlib into a web version.

@tdlib tdlib deleted a comment from Scutua Oct 24, 2024
@levlam
Copy link
Contributor

levlam commented Oct 24, 2024

You can build TDLib for web yourself following https://github.com/tdlib/td/tree/master/example/web, but then you will need to update the telegram-react code to support all changes in TDLib API, and there were a lot of API changes since then.

@1343322562
Copy link
Author

You can build TDLib for web yourself following https://github.com/tdlib/td/tree/master/example/web, but then you will need to update the telegram-react code to support all changes in TDLib API, and there were a lot of API changes since then.

I got it.
I'll try to manually build it, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants