Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WhatsApp send catalog Template #169

Open
TuniDev83 opened this issue Jul 9, 2024 · 0 comments
Open

WhatsApp send catalog Template #169

TuniDev83 opened this issue Jul 9, 2024 · 0 comments

Comments

@TuniDev83
Copy link

Greeting,

I already sent successfully other template models, but catalog template it fail. There is missing params that's I did not find any exemple online to follow it.

I'm using this code to send catalog template.
var recipientList = new List { phone };
var messageTemplate = new MessageTemplate(templateName, templateLanguage);
var templateContent = new TemplateNotificationContent(Guid.Parse(channelRegistrationId), recipientList, messageTemplate);

// Send template message
var sendTemplateMessageResult = await m_currentNotificationMessagesClient.SendAsync(templateContent);

Annotation 2024-07-09 092239

==============================
{"error":{"code":"BadRequest","message":"Given request contains a parameter for WhatsApp which was invalid. This includes channel ID and template parameters.","innererror":{"code":"WaErrorCode.InvalidParameter","message":"InvalidParameter: (#131008) Required parameter is missing"}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant