🔥Data Scientist Masters Program (Discount Code - YTBE15) - www.simplilearn.com/big-data-and-analytics/senior-data-scientist-masters-program-training?DTM8&Comments&RUclips 🔥IITK - Professional Certificate Course in Data Science (India Only) - www.simplilearn.com/iitk-professional-certificate-course-data-science?DTM8&Comments&RUclips 🔥Caltech Post Graduate Program in Data Science - www.simplilearn.com/post-graduate-program-data-science?DTM8&Comments&RUclips 🔥Brown University - Applied AI & Data Science - www.simplilearn.com/applied-ai-data-science-course?DTM8&Comments&RUclips
when i run the program, it show me " No module named 'telegram.ext'; 'telegram' is not a package" error although the telegram bot is installed. what should I do?
ERROR: Could not find a version that satisfies the requirement telegram-python-bot (from versions: none) ERROR: No matching distribution found for telegram-python-bot bro tell about this issue !!!!!!!!!!!!!!!!!!!!! package hi available nahi hai
hi, I also really wanted to create a telegram bot, but I couldn't. you did not show how to install pip packages in the video. How to run the code without pip files...
Hello. I have created a bot which saves the fileids, name of documents received by the bot to MongoDB. Now, I want to use an Inlinequery to fetch the documents saved in mongod. I am able to return fileid saved in MongoDB using inline query but not able to send the document. Is there a way to send the document using Inlinequery
"This error message is indicating that the Updater class in the telegram library doesn't have an argument named use_context in its constructor (__init__ method). It's likely that you're using an outdated version of the telegram library or you're using an argument that's specific to a different library. Check the documentation for the latest version of the telegram library to see if the use_context argument is supported, or if it's been renamed or removed. You can also try removing the use_context argument from your code and see if the error goes away. Or you can refer to source code files shared in the description."
got the same error could you please specify what to do? and an another error saying cannot import name 'Chat' from 'telegram after copying and pasting the code from github
Hi To better understand and address the issue, it would be helpful if you could provide the specific code snippet where you're encountering the syntax error with colons.
Hi In the code you provided, it seems that there is an error related to the Updater.__init__() method call. Specifically, it's mentioning that the use_context keyword argument is unexpected. The error message suggests that the Updater class's constructor (__init__() method) does not accept a use_context argument. This could be due to a couple of reasons: Outdated or incompatible library version: The code you are using might be based on an older version of the Python Telegram Bot library. In newer versions, the constructor may have been updated, and the use_context argument might have been removed or renamed. Custom modifications: If the code has been modified or customized, it's possible that the use_context argument was added as part of those modifications but hasn't been handled correctly. To fix the issue, you have a few options: Check the documentation: Review the documentation for the version of the Python Telegram Bot library you are using. Ensure that the Updater class's constructor does not require the use_context argument. If it does, make sure you are using the correct syntax or update your library version if necessary. Update the code: If the code has been modified or customized, you need to ensure that the modifications are compatible with the library version you are using. You might need to adjust the code to match the correct constructor signature or remove the use_context argument if it is no longer supported. Seek community support: If you are still having trouble resolving the issue, consider seeking help from the Python Telegram Bot community. They can provide guidance based on their experience with the library and any potential changes or known issues. Remember to always review and understand the documentation and requirements of the libraries you are using to ensure compatibility and avoid unexpected errors.
Pease have a look at the documentation for the "Telegram Bot API" and the "Updater" class to see the use case. Else have a look at the source code files provided in the description.
🔥Data Scientist Masters Program (Discount Code - YTBE15) - www.simplilearn.com/big-data-and-analytics/senior-data-scientist-masters-program-training?DTM8&Comments&RUclips
🔥IITK - Professional Certificate Course in Data Science (India Only) - www.simplilearn.com/iitk-professional-certificate-course-data-science?DTM8&Comments&RUclips
🔥Caltech Post Graduate Program in Data Science - www.simplilearn.com/post-graduate-program-data-science?DTM8&Comments&RUclips
🔥Brown University - Applied AI & Data Science - www.simplilearn.com/applied-ai-data-science-course?DTM8&Comments&RUclips
Why are u liking it by yourself 😒.
How to save this code for permanently?
Hello sir Can you help for mac users also
when i run the program, it show me " No module named 'telegram.ext'; 'telegram' is not a package" error although the telegram bot is installed. what should I do?
Thank you, sir. This is an old video but I am successful.
I successfully ran my first bot by Python.
Thanks again.
Glad it helped!
ERROR: Could not find a version that satisfies the requirement telegram-python-bot (from versions: none)
ERROR: No matching distribution found for telegram-python-bot
bro tell about this issue !!!!!!!!!!!!!!!!!!!!! package hi available nahi hai
Thanks, i was looking for it.
Glad it was helpful!
Thanks so much but for me I don’t have the Microsoft visual code. Can I use the IDLE and how do I open it using the cmd
hi, I also really wanted to create a telegram bot, but I couldn't. you did not show how to install pip packages in the video. How to run the code without pip files...
nice video
Hello. I have created a bot which saves the fileids, name of documents received by the bot to MongoDB.
Now, I want to use an Inlinequery to fetch the documents saved in mongod.
I am able to return fileid saved in MongoDB using inline query but not able to send the document. Is there a way to send the document using Inlinequery
I am getting this error 'Module' Object is not callable
Will u customise telegram bot according to specific business need
Bro can you make a video for telegram music bot 😢
I am facing this error plz help
Updater.__init__() got an unexpected keyword argument 'use_context'
"This error message is indicating that the Updater class in the telegram library doesn't have an argument named use_context in its constructor (__init__ method).
It's likely that you're using an outdated version of the telegram library or you're using an argument that's specific to a different library. Check the documentation for the latest version of the telegram library to see if the use_context argument is supported, or if it's been renamed or removed.
You can also try removing the use_context argument from your code and see if the error goes away.
Or you can refer to source code files shared in the description."
got the same error could you please specify what to do? and an another error saying cannot import name 'Chat' from 'telegram after copying and pasting the code from github
in my token for bot i am getting syntax error for colons pls help
Hi
To better understand and address the issue, it would be helpful if you could provide the specific code snippet where you're encountering the syntax error with colons.
Hey i have error
have any msg limit for this bot ?
hsr layout your from da ?
Mere liye ek telegram bot bana sakte ho kya jo aapki fee hogi mein aapko de dunga
Is there a java code instead of python
Updater.__init__() got an unexpected keyword argument 'use_context' hey man your source has errors fix it or mention in comments ........
Hi
In the code you provided, it seems that there is an error related to the Updater.__init__() method call. Specifically, it's mentioning that the use_context keyword argument is unexpected.
The error message suggests that the Updater class's constructor (__init__() method) does not accept a use_context argument. This could be due to a couple of reasons:
Outdated or incompatible library version: The code you are using might be based on an older version of the Python Telegram Bot library. In newer versions, the constructor may have been updated, and the use_context argument might have been removed or renamed.
Custom modifications: If the code has been modified or customized, it's possible that the use_context argument was added as part of those modifications but hasn't been handled correctly.
To fix the issue, you have a few options:
Check the documentation: Review the documentation for the version of the Python Telegram Bot library you are using. Ensure that the Updater class's constructor does not require the use_context argument. If it does, make sure you are using the correct syntax or update your library version if necessary.
Update the code: If the code has been modified or customized, you need to ensure that the modifications are compatible with the library version you are using. You might need to adjust the code to match the correct constructor signature or remove the use_context argument if it is no longer supported.
Seek community support: If you are still having trouble resolving the issue, consider seeking help from the Python Telegram Bot community. They can provide guidance based on their experience with the library and any potential changes or known issues.
Remember to always review and understand the documentation and requirements of the libraries you are using to ensure compatibility and avoid unexpected errors.
Hey Im getting this error please help me out, AttributeError: 'Updater' object has no attribute 'dispatcher'
Pease have a look at the documentation for the "Telegram Bot API" and the "Updater" class to see the use case. Else have a look at the source code files provided in the description.