Telegram inline keyboard

is there a way of changing what’s sent on inline keyboard through the telegram send message depending on state of switches.

    inline_keyboard:
     - 'Bedroom Wall:/bedsw, Printers:/printersw, Pwr Strip:/pwrstrip'
     - 'Kettle:/kettlesw, Louge:/loungesw, Garden Room:/gardensw'

I want to send depending on what’s switches are currently left on.