zelenin/go-tdlib

Can someone show the references of the SetAuthenticationPhoneNumber() function

EllaSedova opened this issue · 1 comments

I want to register new users in telegram by phone number and manually enter the code from the sms.
I can't get the SetAuthenticationPhoneNumber() to work.
As I understand it, to run this function, you need to create a tdlibClient using NewClient(). But how to create an empty tdlibclient?

SMS can be received only by official mobile Telegram apps.