rizaumami / tdcli.lua

A simple Lua library for the telegram-cli
GNU General Public License v3.0
53 stars 30 forks source link

send Auth request #7

Closed TeleCompiler closed 7 years ago

TeleCompiler commented 7 years ago

How can I send Auth Request? I do not Know About auth in tdcli how to get request code?

rizaumami commented 7 years ago

I don't know yet how to programatically Auth using tdcli. But, you can just do authentication as usual by input your phone number and the received code. Code will be sent to your currently active Telegram session. Re-auth can be forced by deleting .telegram-cli configuration folder or td.binlog file