Skip to content

Error in connecting the client with pyrogram session #86

@xD-Mohamed

Description

@xD-Mohamed

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions