gotgproto
gotgproto copied to clipboard
Client creation with session
if i create a client with a ready session it still tries to authenticate the user. is there a way to cancel auth, if the session is passed?
If it still tries to authenticate then it means that your session is invalid. You can disable automatic reauthentication flow by setting NoAutoAuth
option to true
in ClientsOpts.
Note: This option has not been pushed to release yet but you can use it by doing:
go get github.com/celestix/gotgproto@beta