void valent_packet_set_payload_info ( JsonNode* packet, JsonObject* info )
A convenience method for setting the
payloadTransferInfo field on
Available since: 1.0
A KDE Connect packet.
The data is owned by the caller of the function.
The called function takes ownership of the data, and is responsible for freeing it.