Python Forum

Full Version: How to take url in telegram bot user input and put it as an argument in a function?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi;
Im new to python and telegram bot thing.
So i have created a python script using some library to bypass ad links, which takes url by using /bypass <url> command as an argument in a function and then gives bypassed url.
So my aim is to take user input like /bypass <url> and then use that url inside a function, and that function gives an output url which is basically a bypassed url, and then i will send that url back to user in telegram.
so anyone plz help me to achieve this.
i can upload the script if needed to better understand its function.