You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/advanced-messaging/whatsapp/includes/templates/template-messages-quick-reference-net.md
+70-1Lines changed: 70 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,8 +74,11 @@ Follow these steps to add required code snippets to the Main function of your `P
74
74
-[Send Template message with quick reply buttons](#send-template-message-with-quick-reply-buttons).
75
75
-[Send Template message with call to action buttons with dynamic link](#send-template-message-with-call-to-action-buttons-with-dynamic-link).
76
76
-[Send Template message with call to action buttons with static link](#send-template-message-with-call-to-action-buttons-with-static-link).
For static links, you don't need to include `MessageTemplateQuickAction` model because the WhatsApp template has a static `CallToAction` link with no input required from the user.
577
+
578
+
#### Example
579
+
580
+
`auth_sample_template` template:
581
+
582
+
This sample template sends authentication template message with one-time password buttons. More details can be find [here](https://developers.facebook.com/docs/whatsapp/cloud-api/guides/send-message-templates/auth-otp-template-messages)
583
+
584
+
:::image type="content" source="../../media/template-messages/sample-authentication-based-template.jpeg" lightbox="../../media/sample-authentication-based-template.jpeg" alt-text="Screen capture that shows details for the authentication-template.":::
Create one `MessageTemplateText`, one `MessageTemplateQuickAction` params. Then assemble your list of params values and your `WhatsAppMessageTemplateBindingsButton` by providing the parameters in the order that the parameters appear in the template content. The order also matters when defining your bindings' buttons.
0 commit comments