I just got acquainted with the keyboard buttons for telegram bots using the .KeyboardButton from the Telegram API documentation but I have an issue; so far I've only been able to design the buttons such that the output after clicking on the button is the same as it's caption/placeholder which is really not helpful for what I want to do.
I have commands set and all already so for example I want the output of a button labeled "Rules" to be /rules in order to initiate the command action instead of the bot output being "Rules". I'm working with Python although I'm open to anyone working on the same stuff in other languages.