Telegram bot how to Get data from DHT sensor by command

I adapted it from the famous keyboard example and the callback_query_id: I included may not be valid.