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
How to resolve a User for the first time(hasn't met before) on TestServer?
158 Views Asked by IPEN At
0
There are 0 best solutions below
Related Questions in TELEGRAM
- How To Download Or Implement Telegram API Into My App
- Shared library in Telegram Android App
- Images are not getting downloaded in Telegram Official App Code
- How do I get authentication in a telegram bot?
- Calling Telegram API to create a feedreader bot
- How to send message from Website To Telegram APP
- Telegram Bot "chat not found"
- I get chatId in tdlib but i can not get message (tdAPI or telegram database library for java)
- how can import my number to telegram channel
- How can I send a post form without click submit button?
- Telegram Bot - How bind an InlineKeyboardButton with a CallbackQuery
- How to send message without using bots in telegram
- how to create a bot with in telegram with botfather and using only a code?
- Is It possible to control a real telegram account by php and telegram api
- Can the Telegram bot API play sound from an online audio streaming URL?
Related Questions in PYROGRAM
- How to delete all messages in a telegram conversation except the pinned pyrogram?
- Pyrogram user-bot does not output message from telegram, why?
- pyfork send_photo trouble [400 FILE_REFERENCE_EXPIRED]
- How I can convert TDlib to Telethon sessions
- Create Telegram Group Topic using api or Pyrogram
- Can't add an inline keyboard to a user bot message
- Pyrogram how to log out of a private channel by id?
- How to query the all time high market cap for an ERC20 contract?
- Issue with Pyrogram in Developing a Telegram API Bot
- How to launch and proper operation of Pyrogram and Aiogram
- Pyrogram "sqlite3.OperationalError: database is locked". How to assure messages will be delivered?
- How to make pyrogram download file faster?
- pyrogram - Telegram API to get live location update
- Avoid FloodWait in python
- Deploy Telegram Bot (Pyrogram) on Back4App
Related Questions in TESTSERVER
- How to use Service Fabric service with AspNet Core WebApi and Autofac and run TestServer
- Logging into 'Test Servers' failed
- How to resolve a User for the first time(hasn't met before) on TestServer?
- Calling thirdparty container with .net core TestHost/TestServer via SSL: Bypass SSL Validation using Testservers CreateClient() method
- Integration test when API calling another API
- Calling another controller on same server using HttpClient fails when using TestServer
- .Net Framework 4.6.1 MVC integration testing
- Is there a way to call TestServer using only Httpclient without using TestServer.GetTestClient()?
- Using full Kestrel server instead of the test server?
- Starting Test Server in Memory to test Razor Pages with Playwright
- Problem with npm install --global http-server
- Configure OData Test Server
- Integration test with Hotchocolate GraphQL and TestServer in C#
- NUnit tests don't terminate when using StopOnError flag under dotnet test
- Bind TestService dependency LifeCycle to a Xunit test with a Test Server in C#
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?