How to resolve a User for the first time(hasn't met before) on TestServer?

124 views Asked by At

I'm just started to use Pyrogram to develop TG-Clients. for a starter, tried to pilot my scripts on [Test servers] to ensure things are fine. So created two user's account by the client-library itself (test numbers) then tried to run a sample workflow by interactions between those accounts, but seems there's no way to "meet" one with another (which is a precondition to be able to interact). BTW: Already tried to add_contact(), create_group(), send_message() to "self" including "target-account" mentioned in the message, but all of those considered as "interactions" and follow the same scheme (target User needed to exist in the .session local file to be able to interact with). I gonna need a way to resolve User despite having that in the .session file (something like Search User by its id/phone/username) Any suggestion would be appreciated. P.S: For what it worth, the "callback code" from TG-TestServers auth workflow, recently has changed from (Five-Times DC number to Six-Times) that needs to be corrected in the docs https://docs.pyrogram.org/topics/test-servers#test-numbers Stay Safe All PEACE V

0

There are 0 answers