File tree 1 file changed +8
-12
lines changed
1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -599,6 +599,7 @@ Example:
599
599
using System ;
600
600
using System .Collections .Generic ;
601
601
using Plivo ;
602
+ using Plivo .Resource .Message ;
602
603
603
604
namespace PlivoExamples
604
605
{
@@ -610,7 +611,7 @@ namespace PlivoExamples
610
611
611
612
var template = new Template
612
613
{
613
- Name = " plivo_order_pickup_named_param " ,
614
+ Name = " template_name " ,
614
615
Language = " en_US" ,
615
616
Components = new List <Component >
616
617
{
@@ -621,15 +622,10 @@ namespace PlivoExamples
621
622
{
622
623
new Parameter
623
624
{
624
- Type = " location" ,
625
- ParameterName = " named_param_in_header" ,
626
- Location = new Location
627
- {
628
- Longitude = " 122.148981" ,
629
- Latitude = " 37.483307" ,
630
- Name = " Pablo Morales" ,
631
- Address = " 1 Hacker Way, Menlo Park, CA 94025"
632
- }
625
+ Type = " text" ,
626
+ ParameterName = " header_title" ,
627
+ Text = " WA-header"
628
+
633
629
}
634
630
}
635
631
},
@@ -641,8 +637,8 @@ namespace PlivoExamples
641
637
new Parameter
642
638
{
643
639
Type = " text" ,
644
- Text = " Harry " ,
645
- ParameterName = " named_param_in_body "
640
+ Text = " Saurabh " ,
641
+ ParameterName = " user_name "
646
642
}
647
643
}
648
644
}
You can’t perform that action at this time.
0 commit comments