C++ gRPC equivalent of Enqueue Downlink python example

Hi, I’ve generated gRPC code for Chirpstack api protos and successfully imported to my C++ project.

I need to send a downlink message to LoRa nodes via gRPC, the same way the python example does (I mean, this one https://www.chirpstack.io/application-server/api/python-examples/#enqueue-downlink )

That’s what I’ve mapped to C++ so far

        // add message to queue
        api::EnqueueDeviceQueueItemRequest toSend;

        // fill in message metadata and data
        auto message = toSend.device_queue_item();
        message.set_data((const char *) &sent);

How do I enqueue the message and send it (possibly synchronously)?