Tell us about yourself!
You have to make the program run in the background. Put an `&` sign at the end of the command.
Hi Hilal,Yes, you can send image instead of text. Just use the sendPhoto() method.
There was a similar problem like this happening after I made some changes to a version, but it happened back in May 2016. If you are using the latest version of telepot, or something close to the latest, that problem should not affect you.This kind of issue, while hard to debug due to its inconsistency, is likely network-related. Perhaps you have an unstable internet connection? Other than that, I really don't have much to say about what might have gone wrong.
Sorry, I have no additional insights. I tried the same code as yours, and mine is working fine.bot.getMe() goes through with no problem. That means your Pi is connected to the internet.The ONLY possibility I can think of is you are mistakenly sending messages to some party other than your bot. Are you sure you are sending to your bot? If your answer is yes, then I really have no idea why it doesn't work for you.
How come you double the "getUpdates" in your URL?
I tried your exact code, with my own token. It works fine, albeit a little slow probably due to Telegram servers.Maybe you can try again?
I also tried the exact same code and I have no problem. Would you mind posting your code (minus token) here?
Did you substitute in your own token?