Closed deepenmhrj closed 8 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?
Learn python. Otherwise, change if text == '/image': to if text.startswith('/image '): then get the user's next input by text[7:]
if text == '/image':
if text.startswith('/image '):
text[7:]
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?