I need a way to track messages based on internal IDs. It is cumbersome to set up a persistent mapping between WhatsApp IDs and internal ones. The Cloud API defines a biz_opaque_callback_data field in the message object, which is propagated as-is in the status webhook, but as far as I can tell, this is not yet supported by the wrapper. It would be very beneficial for me if I could define it on my request objects:
TextMessageRequest textMessageRequest = new TextMessageRequest();
textMessageRequest.To = "Recipient Phone Number";
textMessageRequest.Text = new WhatsAppText();
textMessageRequest.Text.Body = "Message Body";
textMessageRequest.Text.PreviewUrl = false;
textMessageRequest.BizOpaqueCallbackData = "my_custom_id"; // <-- this
var results = await _whatsAppBusinessClient.SendTextMessageAsync(textMessageRequest);
I need a way to track messages based on internal IDs. It is cumbersome to set up a persistent mapping between WhatsApp IDs and internal ones. The Cloud API defines a
biz_opaque_callback_data
field in the message object, which is propagated as-is in the status webhook, but as far as I can tell, this is not yet supported by the wrapper. It would be very beneficial for me if I could define it on my request objects:Please let me know what you think!