xtrime-ru / TelegramApiServer

Fast, simple, async php telegram api server: MadelineProto + Amp HTTP Server
https://tg.i-c-a.su
MIT License
576 stars 130 forks source link

Login on scane QR #91

Closed Diden05 closed 2 years ago

Diden05 commented 2 years ago

Планируется реализовать логин через скан qr кода?

Is it planned to implement a login through a scan of the qr code?

xtrime-ru commented 2 years ago

Looks like it is already implemented:

Please try these methods. Call them as any other method: curl "127.0.0.1:9503/api/auth.acceptLoginToken?data[token]=xxxx"

I suppose you need a fresh session to use acceptLoginToken.