Replies: 1 comment
-
Probably you missed something from API docs or forgot to turn on inline mode. There is nothing wrong with a code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I'm new to this thing and this may be a pretty noobish question. But here is my code:
Using laravel, and polling (not webhooks) The trigger function is only fired when a message is sent to the bot itself. When using inline messaging, the trigger function is not even fired to check if it's an inline_query or what. This line:
return isset($this->update->inline_query);
Is based on chatgpt which seems to be incorrect. In actual fact chatgpt says a lot of nonsense when it comes to telegram bots, which I guess is due to lack of online tutorials.
Please guide me in the right direction on how to handle inline messages and callback queries, etc.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions