-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inline query support #32
Comments
Yepp...on my to do list :) maybe today or tomorrow On Tuesday, January 5, 2016, Aleksey Shirokih [email protected]
|
Let me know if you need help on this @lukefx, might need to do some refactoring to support it with minimal code duplication. |
@arcturial yepp thx, first of all, what do you think for the inlineQuery initial request? https://core.telegram.org/bots/api#inlinequery we should manage the request within the telegrambot api and launch and event to the adapter? What do you think? |
All the telegrambot API does is interact with the getUpdate method and sends the result to the callback, so not sure it would be the best place to put the events. However, we can change the code at line 212 and 225 to call |
I was thinking a method to let user define what the bot should reply to the inlinquery, so yes, quick and dirty could be in the handleUpdate method add an if and check if the message starts with a "@" and then? send an event so you can catch it in a script and compose your reply... Anyway, let's create a branch...and collaborate on it...code speak itself 😄 |
the text will not starts with @ ср, 6 янв. 2016 г. в 16:45, Luca Simone [email protected]:
|
Ah ok...so how do we know if is an inline query? By the object's attributes? #33 I've created a branch for this... |
Teap, the object attributes we get in |
any news on this? |
according to latest api changes please add inline query support to your api
https://core.telegram.org/bots/inline
tnx!
The text was updated successfully, but these errors were encountered: