painor

Results 186 comments of painor

maybe there is a firewall or telegram IPs are blocked ? The error means that the library couldln't connect to telegram's ip

Try removing the "5" in the .setAuthKey part. It's not clear what tg_sesion is. You should create a new Session variable and set the auth key directly to it and...

Yes you probably want https://gram.js.org/tl/messages/Search#messagessearch

can you try using the browser build and see if it works? npm i telegram@browser

hmm that's weird. I haven't tried it on react native before. can you setup a simple project on github using the library with minimal code so I can test it...

haha that's fair. I never had a lot of requests to make the library mobile friendly so that's probably why it didn't work.

Do these channels have a lot of members ? it's known that telegram will send messages with some delay in huge channels unless you "show interest" in them.

would be great if you wrote the issue in english. You seem to be using the wrong IP. `client.session.setDC(2, "149.154.167.40", 443); ` use that

I don't think so. I just copy pasted your code and changed the ip and it worked fine for me.

my IP has nothing to do with this. this is the code i used: ```ts const phoneNumber = "9996623848"; const phoneCode = "22222"; const createClient = async (stringSession: string) =>...