GithubHelp home page GithubHelp logo

Update layer scheme about gogram HOT 13 CLOSED

amarnathcjd avatar amarnathcjd commented on June 10, 2024
Update layer scheme

from gogram.

Comments (13)

AmarnathCJD avatar AmarnathCJD commented on June 10, 2024

@npdkdev Okey 👌, need to work on updating parser first then 🥲

from gogram.

npdkdev avatar npdkdev commented on June 10, 2024

what's is flags2 type, I see flags2.0?Vector and flags2.0?true, I think is not consistent , is that a interfaces{} on golang?

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 10, 2024

@npdkdev Yeah I'm having trouble understandimg it cuz it breaks the current parser the 2.0 flag puts empty bytes and i couldn't find the order :(

from gogram.

npdkdev avatar npdkdev commented on June 10, 2024

I foolishly tried to change the parser, I tried and got *_gen.go then moved it into telegram/ and changed the Api in const.go to 158, after trying it I only get the log connection to [...] - <TCPFull> and no further response :(

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 10, 2024

@npdkdev Yeah the internal decoder breaks which hangs the program

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 10, 2024

@AmarnathCJD https://github.com/AmarnathCJD/gogram/blob/2.0/internal/encoding/tl/decoder.go >>

from gogram.

TAMILVIP007 avatar TAMILVIP007 commented on June 10, 2024

@AmarnathCJD

from gogram.

AnjanaMadu avatar AnjanaMadu commented on June 10, 2024

@AmarnathCJD

from gogram.

AnjanaMadu avatar AnjanaMadu commented on June 10, 2024

@TAMILVIP007

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 10, 2024

Can you you update api layer, because I cannot login as user, the error is panic: sending AuthSentCode: [UPDATE_APP_LOGIN] this layer no longer supports logging in, please update your app (code 406), maybe can you tell me how to update the layer, I will update it

Strange I'm not getting this error
And am suucessfully able to login and send auth code etc...
Check the lib version etc

from gogram.

npdkdev avatar npdkdev commented on June 10, 2024

I found the problem, I am using AppID=1 and AppHash which belongs to telegram iOS, I have tried to replace it with my own obtained from my.telegram.org and it works, but is it not possible to update to the latest layer 158?, if the problem is with the parser is it possible to recreate it using methods and layouts like gotd, maybe using gotd/tl

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 10, 2024

@npdkdev Nope the structures are different and gotd codes are so huge I can't even finish reading them

I need external help to complete the parser 🙂

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 10, 2024

#8

from gogram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.