wiz0u / WTelegramClient

Telegram Client API (MTProto) library written 100% in C# and .NET
https://wiz0u.github.io/WTelegramClient/
MIT License
956 stars 156 forks source link

QR Support #247

Closed RobLinux closed 4 months ago

RobLinux commented 4 months ago

Hey,

Thanks for this marvelous library. Did you not add the support for QR login by purpose or just because no time ? Because I saw this remark "don't use QR or result in permaban".

I was wondering because I was using TgSharp and got it working, so I was maybe planning on porting my changes to WTelegram and wanted to know if you would be interested in it. It's working perfectly and never got banned with this login method.

Regards,

wiz0u commented 4 months ago

Sure, share your code. I will see if I can integrate it somehow. In any case you can always login manually calling the API methods rather than using the standard WTelegramClient login mechanism. (even if it's not recommended)

RobLinux commented 4 months ago

yeah, but I wanted to have a more stream-lined method. So I'll fork and create a branch for it. hopefully it'll compatible with your design rules.

RobLinux commented 4 months ago

Plus it seems the QR remark from TD is not relevant anymore as they integrated it : https://github.com/gotd/td/pull/559

wiz0u commented 4 months ago

OK, but as I will want to study the official documentation anyway about QR logins to make sure it's properly implemented, if your code is too far from what I envision, I might choose to implement it myself rather than spend time back & forth on your PR and merge it. Don't be sad 😉

wiz0u commented 4 months ago

You can test 4.1.1-dev.1

RobLinux commented 4 months ago

wow. that was freaking fast. I'll have a look at it.