I am making a Telegram bot. User asks for a board game, and bot answers with an image of setup for it. It works just fine with straight typing the name of the game, but I also want to list all available games in the database with /list command. Currently it works fine, but I want all the games names to be clickable, so user can find a game in this list, click it and receive an image, but nothing happens when user clicks the link.
I’ve tried to do it with “t.me/meeple_house_bot/game?name={game}” link for each game in list, and then handle it with check “startswith(‘/game?name=’)”. I guess that there are no ways to do what I expect, but maybe there are a way to do it.
maralex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.