I'm looking for advice on implementing a menu button within a Telegram bot. In a particular interface design, when a highlighted area is activated, an extra button appears below the input field. I haven't found any clear references to this feature in the Telegram API documentation, and I'm unsure of its official name or configuration method. Any insights or guidance on identifying and setting up this component would be greatly appreciated.
hey, i think u can use inline keyboards with reply_markup for that. its not a dedicated menu feature in the api so you’ll have to trigger it via callback queries. gives a similar ux idea, hope it helps.
Based on my experience developing Telegram bots, the feature you’re referring to isn’t a dedicated API component. Instead, I achieved a similar experience by strategically utilizing inline keyboards with callback queries. The extra button you see is dynamically generated upon a specific user action by changing the reply_markup. This approach allows the interface to feel interactive and responsive, even though it’s technically not a built-in menu button. Experimenting with the timing and conditions for displaying the inline keyboard can help achieve the desired UX.
In my experience, the closest functionality to this menu button was achieved by dynamically modifying the bot’s reply markup. Although there isn’t a built-in component explicitly named for that feature, I found using a combination of custom keyboards and inline keyboards to be effective. I initially attempted to use ReplyKeyboardMarkup, but ultimately I switched to inline keyboards for more control over when and how the menu appears. Careful handling of callback queries and user inputs allowed for a more fluid interface. Testing different configurations was key to achieving a natural and responsive user experience.
hey, i managed it by re-sending a modified reply_markup with an inline keyboard when needed. not a true menu btn but it creates that effect. try tweaking the callback logic to get the right timing, it works decently in practice.