I have [answered][1] for this question using [Python 3.7][2] and [pyTelegramBotAPI][3]. I hope that [answer][1] will give you the basic idea of how to deal with dynamic buttons in Telegram.
[1]: https://stackoverflow.com/questions/45558984/how-to-make-telegram-bot-dynamic-keyboardbutton-in-python-every-button-on-one-ro/51904640#51904640
[2]: https://docs.python.org/3/whatsnew/3.7.html
[3]: https://github.com/eternnoir/pyTelegramBotAPI
I have [answered][1] for this question using [Python 3.7][2] and [pyTelegramBotAPI][3]. I hope that [answer][1] will give you the basic idea of how to deal with dynamic buttons in Telegram.
[1]: https://stackoverflow.com/questions/45558984/how-to-make-telegram-bot-dynamic-keyboardbutton-in-python-every-button-on-one-ro/51904640#51904640
[2]: https://docs.python.org/3/whatsnew/3.7.html
[3]: https://github.com/eternnoir/pyTelegramBotAPI