i'm trying to connect the client with a pyrogram session and i keep getting ' Enter Phone Number: ' in the terminal why is that
cl, err := gotgproto.NewClient(
apiID,
apiHash,
gotgproto.ClientType{Phone: ""},
&gotgproto.ClientOpts{
InMemory: true,
DisableCopyright: true,
Session: sessionMaker.PyrogramSession(session),
},
)
I wish u make it return an error if there's error in the session not tell me to Enter Phone Number. That will be better.. Thank you