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
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.
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
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...
"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.
Become A Data Scientist Today: taplink.cc/simplilearn_c_data_science
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?
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 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
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.
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
Thanks, i was looking for it.
Glad it was helpful!
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...
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
I am getting this error 'Module' Object is not callable
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.
Will u customise telegram bot according to specific business need
nice video
Bro can you make a video for telegram music bot 😢
hsr layout your from da ?
have any msg limit for this bot ?
Hey i have error
Is there a java code instead of python
Mere liye ek telegram bot bana sakte ho kya jo aapki fee hogi mein aapko de dunga
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.