Discord's newest features support sending buttons alongside messages, which when clicked by the user trigger an interaction which is routed by D++ as an on_button_click event. To make use of this, use code as in this example.
dpp::message(event.msg.channel_id, "this text has buttons").add_component(
The cluster class represents a group of shards and a command queue for sending and receiving commands...
respond to an interaction with a message
message that was created (sent).
When the feature is functioning, the code below will produce buttons on the reply message like in the image below: