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/concepts/advanced-messaging/whatsapp/includes/template-messages-quick-reference-net.md
| ADDRESS | Address that will appear after the 'NAME' value, below the generic map at the top of the message. | string |
128
+
| LATITUDE | Location latitude. | double |
129
+
| LONGITUDE| Location longitude. | double |
130
+
| LOCATIONNAME | Text that will appear immediately below the generic map at the top of the message. |string|
131
+
132
+
For more information on location based templates, see [WhatsApp's documentation for message media](https://developers.facebook.com/docs/whatsapp/cloud-api/guides/send-message-templates#location).
133
+
134
+
Location based Message template assembly:
135
+
```csharp
136
+
var location = new MessageTemplateLocation("location");
137
+
location.LocationName = "Pablo Morales";
138
+
location.Address = "1 Hacker Way, Menlo Park, CA 94025";
139
+
location.Position = new Azure.Core.GeoJson.GeoPosition(longitude: 122.148981, latitude: 37.483307);
:::image type="content" source="./../media/template-messages/sample-location-based-template.jpg" lightbox="./../media/template-messages/sample-location-based-template.jpg" alt-text="Screenshot that shows template details for template named sample_location_template.":::
150
+
101
151
### Templates with quick reply buttons
102
152
103
153
Use `MessageTemplateQuickAction` to define the payload for quick reply buttons.
0 commit comments