Anony
Anony
> ``` > &gotgproto.ClientOpts{ > Session: sessionMaker.TdataSession(accounts[0]).Name("tdata"), > > }, > ``` > > Error display: TdataSession function does not exist Please update gotgproto to the latest by running this...
Are you use you're triggering the API methods in the example? Also, have you tried creating a client with simple authenticator (https://github.com/celestix/gotgproto/tree/beta/examples/authorizing-as-user/sqlite_session) ?
> yes, i tried this example also. but no luck. That's weird. I will try to reproduce it and let you know.
Hello @0x30c4, have you got a spare account where we can test things up? I tried to arrange a test account but failed to do so.
> Hi @celestix, no luck. i tried with a different account but same result. I see, I've got an account as well! Let me try it now.
Hey @0x30c4, I tried with the echobot example on an account with and without 2FA protection. Both worked fine for me. Can you reach out to me on telegram and...
You can't set the auth expiration time like this, neither does telegram automatically log-out your account on per day basis like that. I suspect that you're not using persistent session...
Can you give some more information? Have you tried using mtproxies? Have you tried it on a different internet connection? Have you tried it kn a different device?
> > Even when i pass in a string of a session it still tries to send a code and get a code from me. Additionally it creates the session...
What do you mean? Please rephrase your question.