yukuku / telebot

Telegram Bot starter kit. Very easy to install with Google App Engine.
Apache License 2.0
689 stars 236 forks source link

Google Image Search API #24

Closed deepenmhrj closed 8 years ago

deepenmhrj commented 9 years ago

I am trying to integrate Google Image Search API under the /image section. How do I read the user's next input for search after the user enters /image in telegram?

yukuku commented 8 years ago

Learn python. Otherwise, change if text == '/image': to if text.startswith('/image '): then get the user's next input by text[7:]