Hi everyone! I'm developing a chatbot and want to implement inline buttons within the bot's messages. My goal is for users to click these buttons and be directed to different parts of the Telegram interface.
-
Currently, I can create template buttons, but clicking them doesn't trigger the desired action, or it opens a sample URL. I'd like users to be directed to another chat within Telegram itself. For example, if a user clicks a button mentioning `@hiwordlebot`, I want them to be taken directly to that chat. Is this functionality possible?
-
Instead of users manually typing `@gamee`, `@gamebot`, or `@gamesrobot` into the keyboard and waiting for games to appear, can I achieve this through a button? When a user clicks a button, I want those specific queries to be automatically entered into the search bar. Could you please advise on the functions and mapping required for this?
-
I saw a reference from another user where clicking "quiz 1" led to the next page. I'm aiming for a similar user experience. Specifically, I want to know how to use inline queries, answer to inline query, or callback queries to replicate this flow.
For all three points, I'm currently facing challenges in connecting my modules and am unsure which functions or modules to use.
- Should I be passing the answer through an inline query module?
- How do I map my callback query to make the buttons responsive?
Any help would be greatly appreciated, as I need the inline and callback queries to function correctly to proceed with my project. Thank you!
blueprint (1).json (195.4 KB)
Did you manage to resolve this issue? I'm encountering a similar problem.