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?
160 Views Asked by IPEN At
0
There are 0 best solutions below
Related Questions in TELEGRAM
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Python. problem with Telegram bot [library telebot)
- Java, Telegram Bot runtime problems
- Download files (spec. images) with telegram bot (python-telegram-bot)
- Deploying telegram bot
- When I try to call the Telegram.WebApp.initDataUnsafe method in inline mode, the Telegram web app API returns an empty object - python & tg webapp
- Resetting pending updates
- Pyrogram: telegram API returns 400: INPUT_FILTER_INVALID after search_messages() request
- Telegram Bot "START" Button issue on history clean up on iOS devices
- How to safely transfer data from Telegram Mini App to Django+pyTelegramBotAPI without closing the app
- FloodWaitError with Telethon module
- I dont get the Result i expected when i want to get my Telegram Chatbot id
- Проверка сообщений Telegram Bot
- Python : Using a MTProto Proxy For a Telegram Bot
- how to edit a message by id using telegraf.js
Related Questions in PYROGRAM
- Pyrogram: telegram API returns 400: INPUT_FILTER_INVALID after search_messages() request
- Pyrogram RequestPerrButton
- I get an error when using Pyrogram with Threading in Tkinter
- running tkinter and pyrogram together
- How do I mark a voice message as listened to using pyrogram?
- Playwright TypeError: 'function' object does not support the asynchronous context manager protocol
- Pyrogram Userbot command filter doesn't work for valid command
- How i can upload stories in telegram account with pyrogram?
- Do I need to create a separate api_hash and api_id for each, or can I somehow parse messages from multiple users from the same pair of api_hash/id?
- Container Fails to Start After 250 Seconds: How to Troubleshoot and Resolve HTTP Ping Timeout on Port 8000? deploying in Microsoft Azure App Service
- Can't make telegram bot see group chat topics one from another
- Delay between new telegram channel messages and their stored datetime metadata
- How to solve this error its a telegram bot using pyrogram library
- ERROR: Could not build wheels for tgcrypto, which is required to install pyproject.toml-based projects
- The inline keyboard buttons are not displayed in pyrogram
Related Questions in TESTSERVER
- How do I send a request to an in-memory TestServer in ASP.NET during testing?
- Bind TestService dependency LifeCycle to a Xunit test with a Test Server in C#
- NUnit tests don't terminate when using StopOnError flag under dotnet test
- Using multiple TestServer instances share the server address from HttpClient
- How to mock authentication in .Net core using TestServer / Specflow
- Using full Kestrel server instead of the test server?
- Starting Test Server in Memory to test Razor Pages with Playwright
- .Net Framework 4.6.1 MVC integration testing
- Calling another controller on same server using HttpClient fails when using TestServer
- Integration test with Hotchocolate GraphQL and TestServer in C#
- Problem with npm install --global http-server
- How do I replace service implementations for Web API integration testing using TestHost.TestServer in .NET 5
- How to resolve a User for the first time(hasn't met before) on TestServer?
- Logging into 'Test Servers' failed
- Is there a way to call TestServer using only Httpclient without using TestServer.GetTestClient()?
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 # Hahtags
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?