'Problem with importing users using library WTelegramClient
- Follow this link: https://github.com/wiz0u/WTelegramClient , downloaded the project: wtelgramclienttestwf.
- On the main form, I added a ordinary button with a description: import users
- For the "import users" button - added an event on a click.
- Then I added a method for importing users.
- In this method, I pass the phone number of the desired client
- Accordingly, when I turn to the method: Contacts_ImportContacts - the studio just freezes and does not respond.
- There are no mistakes.
- For understanding, also see the uploaded photos.
I apologize in advance for my English
Solution 1:[1]
Sorry but we don't have enough elements to answer you.
Surround the API call with try..catch, maybe you have an exception.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Wizou |